Skip to content

Instantly share code, notes, and snippets.

@letsar
Created May 9, 2020 06:04
Show Gist options
  • Save letsar/286400061c6d97026315b1e504750d15 to your computer and use it in GitHub Desktop.
Save letsar/286400061c6d97026315b1e504750d15 to your computer and use it in GitHub Desktop.
SliverConstraints constructor
const SliverConstraints({
@required this.axisDirection,
@required this.growthDirection,
@required this.userScrollDirection,
@required this.scrollOffset,
@required this.precedingScrollExtent,
@required this.overlap,
@required this.remainingPaintExtent,
@required this.crossAxisExtent,
@required this.crossAxisDirection,
@required this.viewportMainAxisExtent,
@required this.remainingCacheExtent,
@required this.cacheOrigin,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment