FlexibleDraggableScrollableWidgetBuilder typedef

FlexibleDraggableScrollableWidgetBuilder = Widget Function(BuildContext context, ScrollController scrollController, double bottomSheetOffset)

The signature of a method that provides a BuildContext and ScrollController for building a widget that may overflow the draggable Axis of the containing FlexibleDraggableScrollSheet.

Users should apply the scrollController to a ScrollView subclass, such as a SingleChildScrollView, ListView or GridView, to have the whole sheet be draggable.

bottomSheetOffset - fractional value of offset.

Implementation

typedef FlexibleDraggableScrollableWidgetBuilder = Widget Function(
  BuildContext context,
  ScrollController scrollController,
  double bottomSheetOffset,
);