Skip to content

Instantly share code, notes, and snippets.

@shyvum
Created December 8, 2019 21:49
Show Gist options
  • Save shyvum/53ed7ef36b745856ec39fa2411fbfa65 to your computer and use it in GitHub Desktop.
Save shyvum/53ed7ef36b745856ec39fa2411fbfa65 to your computer and use it in GitHub Desktop.
const RefreshIndicator({
Key key,
@required this.child,
this.displacement = 40.0,
@required this.onRefresh,
this.color,
this.backgroundColor,
this.notificationPredicate = defaultScrollNotificationPredicate,
this.semanticsLabel,
this.semanticsValue,
}) : assert(child != null),
assert(onRefresh != null),
assert(notificationPredicate != null),
super(key: key);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment