FlexibleDraggableScrollableWidgetBodyBuilder typedef

FlexibleDraggableScrollableWidgetBodyBuilder = SliverChildDelegate Function(BuildContext context, double bottomSheetOffset)

The signature of a method that provides a 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 FlexibleDraggableScrollableWidgetBodyBuilder = SliverChildDelegate
    Function(
  BuildContext context,
  double bottomSheetOffset,
);