FlexibleBottomSheet<T>.collapsible constructor

FlexibleBottomSheet<T>.collapsible({
  1. required PopupRoute<T> route,
  2. Key? key,
  3. double initHeight = 0.5,
  4. double maxHeight = 1,
  5. DraggableScrollableController? draggableScrollableController,
  6. FlexibleDraggableScrollableWidgetBuilder? builder,
  7. FlexibleDraggableScrollableHeaderWidgetBuilder? headerBuilder,
  8. FlexibleDraggableScrollableWidgetBodyBuilder? bodyBuilder,
  9. bool isExpand = true,
  10. AnimationController? animationController,
  11. List<double>? anchors,
  12. double? minHeaderHeight,
  13. double? maxHeaderHeight,
  14. Decoration? decoration,
  15. Color? keyboardBarrierColor,
  16. Color? bottomSheetColor,
  17. bool useRootScaffold = true,
  18. BorderRadiusGeometry? bottomSheetBorderRadius,
})

Implementation

FlexibleBottomSheet.collapsible({
  required PopupRoute<T> route,
  Key? key,
  double initHeight = 0.5,
  double maxHeight = 1,
  DraggableScrollableController? draggableScrollableController,
  FlexibleDraggableScrollableWidgetBuilder? builder,
  FlexibleDraggableScrollableHeaderWidgetBuilder? headerBuilder,
  FlexibleDraggableScrollableWidgetBodyBuilder? bodyBuilder,
  bool isExpand = true,
  AnimationController? animationController,
  List<double>? anchors,
  double? minHeaderHeight,
  double? maxHeaderHeight,
  Decoration? decoration,
  Color? keyboardBarrierColor,
  Color? bottomSheetColor,
  bool useRootScaffold = true,
  BorderRadiusGeometry? bottomSheetBorderRadius,
}) : this(
        route: route,
        key: key,
        maxHeight: maxHeight,
        draggableScrollableController: draggableScrollableController,
        builder: builder,
        headerBuilder: headerBuilder,
        bodyBuilder: bodyBuilder,
        minHeight: 0,
        initHeight: initHeight,
        isCollapsible: true,
        isExpand: isExpand,
        animationController: animationController,
        anchors: anchors,
        minHeaderHeight: minHeaderHeight,
        maxHeaderHeight: maxHeaderHeight,
        decoration: decoration,
        keyboardBarrierColor: keyboardBarrierColor,
        bottomSheetColor: bottomSheetColor,
        useRootScaffold: useRootScaffold,
        bottomSheetBorderRadius: bottomSheetBorderRadius,
      );