Skip to content

Instantly share code, notes, and snippets.

@Rahiche
Last active February 15, 2019 00:18
Show Gist options
  • Save Rahiche/bd5653f4b4c89d6ec7b045bf5979daa1 to your computer and use it in GitHub Desktop.
Save Rahiche/bd5653f4b4c89d6ec7b045bf5979daa1 to your computer and use it in GitHub Desktop.
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