Created
December 18, 2018 21:41
-
-
Save Rahiche/cba46e40c22527b70582957d8a3773cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NotificationListener<ScrollEndNotification>( | |
onNotification: (end) { | |
if (animation.isDismissed) { | |
_controller.forward(); | |
} | |
}, | |
child: NotificationListener<ScrollStartNotification>( | |
onNotification: (start) { | |
if (animation.isCompleted) { | |
_controller.reverse(); | |
} | |
}, | |
child: ListView(...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment