GetModalBottomSheetRoute<T> constructor

GetModalBottomSheetRoute<T>({
  1. WidgetBuilder? builder,
  2. ThemeData? theme,
  3. String? barrierLabel,
  4. Color? backgroundColor,
  5. bool? isPersistent,
  6. double? elevation,
  7. ShapeBorder? shape,
  8. bool removeTop = true,
  9. Clip? clipBehavior,
  10. Color? modalBarrierColor,
  11. bool isDismissible = true,
  12. bool enableDrag = true,
  13. required bool isScrollControlled,
  14. RouteSettings? settings,
  15. Duration enterBottomSheetDuration = const Duration(milliseconds: 250),
  16. Duration exitBottomSheetDuration = const Duration(milliseconds: 200),
  17. 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);
}