SheetPage<T> constructor
const
SheetPage<T> ({
- required Widget child,
- bool maintainState = true,
- LocalKey? key,
- String? name,
- Object? arguments,
- 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,
- double willPopThreshold = _kWillPopThreshold,
- SheetDecorationBuilder? decorationBuilder,
Creates a material page.
Implementation
const SheetPage(
{required this.child,
this.maintainState = true,
LocalKey? key,
String? name,
Object? arguments,
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.willPopThreshold = _kWillPopThreshold,
this.decorationBuilder})
: transitionDuration = duration ?? _kSheetTransitionDuration,
super(
key: key,
name: name,
arguments: arguments,
);