Skip to content
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

Can we add page turn/ pageflip affect when changing the pages #118

Open
rafeywaleed opened this issue Sep 19, 2024 · 1 comment
Open

Can we add page turn/ pageflip affect when changing the pages #118

rafeywaleed opened this issue Sep 19, 2024 · 1 comment

Comments

@rafeywaleed
Copy link

No description provided.

@jmgeffroy
Copy link
Contributor

Hello @rafeywaleed This is doable, thanks to the fact that we are using Flutter_InAppWebview, which provides a HeadlessInappWebview that allows to create shapshots fo the contents. This is the exact reason why we chose it, indeed... In our own app, on which Iridium is based, we create snapshots of pages, which are displayed in a progressbar (like the Kindle and Google Play apps do). Your feature request should use a similar technique. As soon as the user starts a page turn gesture, you must overlay a page turner widget that temporarily hides the webview.
I don't have time to implement it, buy I can provide the code for our "SnapshottingThumbnailsGenerator", which uses this HeadlessInappWebview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants