FlexibleBottomSheet<T>.collapsible constructor
FlexibleBottomSheet<T>.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,
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,
);