Last active
February 15, 2019 00:18
-
-
Save Rahiche/bd5653f4b4c89d6ec7b045bf5979daa1 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
SampleFlowDelegate({this.openAnimation}) : super(repaint: openAnimation); | |
final Animation<double> openAnimation; | |
@override | |
bool shouldRepaint(SampleFlowDelegate oldDelegate) { | |
return openAnimation != oldDelegate.openAnimation; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment