SheetRoute<T> constructor
SheetRoute<T> ({
- required WidgetBuilder builder,
- double initialExtent = 1,
- List<
double> ? stops, - bool draggable = true,
- SheetFit fit = SheetFit.expand,
- SheetPhysics? physics,
- Curve? animationCurve,
- Duration? duration,
- String? sheetLabel,
- String? barrierLabel,
- Color? barrierColor = _kBarrierColor,
- bool barrierDismissible = true,
- bool maintainState = true,
- double willPopThreshold = _kWillPopThreshold,
- SheetDecorationBuilder? decorationBuilder,
- RouteSettings? settings,
Implementation
SheetRoute({
required this.builder,
this.initialExtent = 1,
this.stops,
this.draggable = true,
this.fit = SheetFit.expand,
this.physics,
this.animationCurve,
Duration? duration,
this.sheetLabel,
this.barrierLabel,
this.barrierColor = _kBarrierColor,
this.barrierDismissible = true,
this.maintainState = true,
this.willPopThreshold = _kWillPopThreshold,
this.decorationBuilder,
super.settings,
}) : transitionDuration = duration ?? _kSheetTransitionDuration,
super(fullscreenDialog: true);