Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I see a lot of comments wanting to have floating buttons and other UI with this pdf viewer. I see how they would be difficult (impossible?) to implement.
What I did to get space for more actions/icons is to add support for the bottom navigation bar. This can take any widget you like, it doesn't really need to be navigation at such.
Limitation is that this also need to implement the preferredSize interface so that the height can be determined when sizing the native render rect.
Example invokation:
You can get a sized widget easily by wrapping it:
I hope this is not against the principle of this package and that you are ok merging it.