FlexibleDraggableScrollableHeaderWidgetBuilder typedef

FlexibleDraggableScrollableHeaderWidgetBuilder = Widget Function(BuildContext context, double bottomSheetOffset)

The signature of the method that provides BuildContext and bottomSheetOffset for determining the position of the BottomSheet relative to the upper border of the screen. bottomSheetOffset - fractional value of offset.

Implementation

typedef FlexibleDraggableScrollableHeaderWidgetBuilder = Widget Function(
  BuildContext context,
  double bottomSheetOffset,
);