Skip to content

Instantly share code, notes, and snippets.

@ShivamGoyal1899
Created December 8, 2019 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShivamGoyal1899/53ed7ef36b745856ec39fa2411fbfa65 to your computer and use it in GitHub Desktop.
Save ShivamGoyal1899/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