FModalSheetRoute<T> constructor
FModalSheetRoute<T> ({
- required FSheetStyle style,
- required FLayout side,
- required Color barrierColor,
- required WidgetBuilder builder,
- double? mainAxisMaxRatio = 9 / 16,
- CapturedThemes? capturedThemes,
- String? barrierOnTapHint,
- String? barrierLabel,
- bool barrierDismissible = true,
- BoxConstraints constraints = const BoxConstraints(),
- bool draggable = true,
- AnimationController? transitionAnimationController,
- Offset? anchorPoint,
- bool useSafeArea = false,
- 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,
});