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