Skip to content

Instantly share code, notes, and snippets.

@Rahiche
Last active February 12, 2019 21:57
Show Gist options
  • Save Rahiche/6405f6e04aa85e7f592e1ef1219cd69b to your computer and use it in GitHub Desktop.
Save Rahiche/6405f6e04aa85e7f592e1ef1219cd69b to your computer and use it in GitHub Desktop.
class SampleFlowDelegate extends FlowDelegate {
@override
void paintChildren(FlowPaintingContext context) {
for (int i = 0; i < context.childCount; ++i) {
context.paintChild(i);
}
}
@override
bool shouldRepaint(SampleFlowDelegate oldDelegate) {
// false just for now
return false;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment