What is it?
The end result looks a little something like this:
Sample project for creating nice looking PageView parallax effects in Flutter.
All the related source code is located in the /lib folder; no separate Android / iOS code needed.
The end result looks a little something like this:
Sample project for creating nice looking PageView parallax effects in Flutter.
All the related source code is located in the /lib folder; no separate Android / iOS code needed.
Hi, thank you for your library! But I think the page transformer doesn't work well if the initial page is not zero. Scrolling a little triggers the NotificationListener and then everything is fine.
Here are some screenshots.
What if I want to load an image from URL instead of loading it from assets/1.png, I want to load from www.example.com/assets/1.png
I want to change some part of the parent widget when the pager index changes. Is there any way to get the current page index?
Returning true will cancel the notification bubbling, avoiding unnecessary propagation throughout the Widget tree.
This should allow projects on Dart 2+ to import this package.
Fixes https://github.com/roughike/page-transformer/issues/9
flutter run Launching lib/main.dart on ONEPLUS A5010 in debug mode... Initializing gradle... 0.7s Resolving dependencies...
BUILD FAILED
Total time: 0.606 secs
FAILURE: Build failed with an exception.
Where: Build file '/Users/pixarise/Code/page-transformer/android/build.gradle' line: 3
What went wrong: A problem occurred evaluating root project 'android'.
Could not find method google() for arguments [] on repository container.
Please review your Gradle project setup in the android/ folder.
Correct _calculatePagePosition() for case when PageVisibilityResolver has null (initial) properties, and PageController.initialPage is non-zero. I expect this will fix https://github.com/roughike/page-transformer/issues/7