GetModalBottomSheetRoute<T> constructor
GetModalBottomSheetRoute<T> ({
- required bool isScrollControlled,
- WidgetBuilder? builder,
- ThemeData? theme,
- String? barrierLabel,
- Color? backgroundColor,
- bool? isPersistent,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
- Color? modalBarrierColor,
- bool isDismissible = true,
- bool enableDrag = true,
- RouteSettings? settings,
- Duration enterBottomSheetDuration = const Duration(milliseconds: 250),
- Duration exitBottomSheetDuration = const Duration(milliseconds: 200),
- Curve? curve,
- bool removeTop = true,
- BoxConstraints? constraints,
- bool? showDragHandle = true,
- Color? shadowColor,
- Color? dragHandleColor,
- Size? dragHandleSize,
- BottomSheetDragStartHandler? onDragStart,
- BottomSheetDragEndHandler? onDragEnd,
Constructs a GetModalBottomSheetRoute.
Implementation
GetModalBottomSheetRoute({
required this.isScrollControlled,
this.builder,
this.theme,
this.barrierLabel,
this.backgroundColor,
this.isPersistent,
this.elevation,
this.shape,
this.clipBehavior,
this.modalBarrierColor,
this.isDismissible = true,
this.enableDrag = true,
super.settings,
this.enterBottomSheetDuration = const Duration(milliseconds: 250),
this.exitBottomSheetDuration = const Duration(milliseconds: 200),
this.curve,
this.removeTop = true,
this.constraints,
this.showDragHandle = true,
this.shadowColor,
this.dragHandleColor,
this.dragHandleSize,
this.onDragStart,
this.onDragEnd,
}) {
RouterReportManager.instance.reportCurrentRoute(this);
}