ModalBottomSheetRoute<T> constructor

ModalBottomSheetRoute<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,
  20. AnimationStyle? sheetAnimationStyle,
})

A modal bottom sheet route.

Implementation

ModalBottomSheetRoute({
  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,
  this.sheetAnimationStyle,
});