StickyHeaderWidgetBuilder typedef
StickyHeaderWidgetBuilder =
Widget Function(BuildContext context, double stuckAmount)
Builder called during layout to allow the header's content to be animated or styled based on the amount of stickyness the header has.
context
for your build operation.
stuckAmount
will have the value of:
0.0 <= value <= 1.0: about to be stuck
0.0 == value: at top
-1.0 >= value >= 0.0: past stuck
Implementation
typedef Widget StickyHeaderWidgetBuilder(BuildContext context, double stuckAmount);