FModalSheetRoute<T> constructor

FModalSheetRoute<T>({
  1. required FSheetStyle style,
  2. required FLayout side,
  3. required Color barrierColor,
  4. required WidgetBuilder builder,
  5. double? mainAxisMaxRatio = 9 / 16,
  6. CapturedThemes? capturedThemes,
  7. String? barrierOnTapHint,
  8. String? barrierLabel,
  9. bool barrierDismissible = true,
  10. BoxConstraints constraints = const BoxConstraints(),
  11. bool draggable = true,
  12. AnimationController? transitionAnimationController,
  13. Offset? anchorPoint,
  14. bool useSafeArea = false,
  15. RouteSettings? settings,
})

Creates a FModalSheetRoute.

Implementation

FModalSheetRoute({
  required this.style,
  required this.side,
  required this.barrierColor,
  required this.builder,
  this.mainAxisMaxRatio = 9 / 16,
  this.capturedThemes,
  this.barrierOnTapHint,
  this.barrierLabel,
  this.barrierDismissible = true,
  this.constraints = const BoxConstraints(),
  this.draggable = true,
  this.transitionAnimationController,
  this.anchorPoint,
  this.useSafeArea = false,
  super.settings,
});