-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aded support: spacing, enableDoubletap, setBackgroundColor (only android for now), onTap callback, zoom parameters (min, mid, max) #173
base: master
Are you sure you want to change the base?
Conversation
/// for double tap (middle step) | ||
final double setMidZoom; | ||
|
||
/// Works on [Android] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plans to get this functional on iOS?
I recently opened #210 to address the unwanted default zoom of the PDFView build, but I am not experienced in Swift to develop a fix myself, yet.
final Color setBackgroundColor; | ||
|
||
/// Works on [Android] | ||
final double setMaxZoom; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iOS functionality?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, you founded in the other file.
_pdfView.minScaleFactor = _pdfView.scaleFactorForSizeToFit; | ||
_pdfView.maxScaleFactor = 4.0; | ||
_pdfView.maxScaleFactor = [args[@"setMaxZoom"] doubleValue]; // 4.0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not proficient in this language, but does this code here fulfill the parameters setZoom for iOS and you just forgot to update the doc comments on flutter_pdfview.dart?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aded support:
spacing between pages,
enableDoubletap, (to enable zoom)
setBackgroundColor (only android for now),
onTap callback, (to add custom functionality)
zoom parameters (min, mid, max)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the correct title.
correct description:aded support:
|
@endigo This PR adds value to the package. What is preventing it from being approved? |
@endigo I sent a message 18 days ago and am still facing the same question. I have an application to demo in 1 week that depends on this repository. It would be helpful to merge this PR for a more sophisticated UX. At a minimum, I am requesting that the setZoom be added: (as done in this commit) Thank you for contributing to the open-source community. |
@endigo When will be merged this PR? |
also i upgraded gradle versions