ModalMBottomSheetRoute<T> constructor

ModalMBottomSheetRoute<T>({
  1. required WidgetBuilder builder,
  2. CapturedThemes? capturedThemes,
  3. String? barrierLabel,
  4. String? barrierOnTapHint,
  5. Color? backgroundColor,
  6. double? elevation,
  7. ShapeBorder? shape,
  8. Clip? clipBehavior,
  9. BoxConstraints? constraints,
  10. Color? modalBarrierColor,
  11. bool isDismissible = true,
  12. bool enableDrag = true,
  13. bool? showDragHandle,
  14. required bool isScrollControlled,
  15. double scrollControlDisabledMaxHeightRatio = _defaultScrollControlDisabledMaxHeightRatio,
  16. RouteSettings? settings,
  17. AnimationController? transitionAnimationController,
  18. Offset? anchorPoint,
  19. bool useSafeArea = false,
})

Implementation

ModalMBottomSheetRoute({
  required this.builder,
  this.capturedThemes,
  this.barrierLabel,
  this.barrierOnTapHint,
  this.backgroundColor,
  this.elevation,
  this.shape,
  this.clipBehavior,
  this.constraints,
  this.modalBarrierColor,
  this.isDismissible = true,
  this.enableDrag = true,
  this.showDragHandle,
  required this.isScrollControlled,
  this.scrollControlDisabledMaxHeightRatio = _defaultScrollControlDisabledMaxHeightRatio,
  super.settings,
  this.transitionAnimationController,
  this.anchorPoint,
  this.useSafeArea = false,
});