FlexibleBottomSheet.collapsible constructor Null safety

FlexibleBottomSheet.collapsible(
  1. {Key? key,
  2. double initHeight = 0.5,
  3. double maxHeight = 1,
  4. FlexibleDraggableScrollableWidgetBuilder? builder,
  5. FlexibleDraggableScrollableHeaderWidgetBuilder? headerBuilder,
  6. FlexibleDraggableScrollableWidgetBodyBuilder? bodyBuilder,
  7. bool isExpand = true,
  8. AnimationController? animationController,
  9. List<double>? anchors,
  10. double? minHeaderHeight,
  11. double? maxHeaderHeight,
  12. Decoration? decoration}
)

Implementation

FlexibleBottomSheet.collapsible({
  Key? key,
  double initHeight = 0.5,
  double maxHeight = 1,
  FlexibleDraggableScrollableWidgetBuilder? builder,
  FlexibleDraggableScrollableHeaderWidgetBuilder? headerBuilder,
  FlexibleDraggableScrollableWidgetBodyBuilder? bodyBuilder,
  bool isExpand = true,
  AnimationController? animationController,
  List<double>? anchors,
  double? minHeaderHeight,
  double? maxHeaderHeight,
  Decoration? decoration,
}) : this(
        key: key,
        maxHeight: maxHeight,
        builder: builder,
        headerBuilder: headerBuilder,
        bodyBuilder: bodyBuilder,
        minHeight: 0,
        initHeight: initHeight,
        isCollapsible: true,
        isExpand: isExpand,
        animationController: animationController,
        anchors: anchors,
        minHeaderHeight: minHeaderHeight,
        maxHeaderHeight: maxHeaderHeight,
        decoration: decoration,
      );