SheetPage<T> constructor

const SheetPage<T>({
  1. required Widget child,
  2. bool maintainState = true,
  3. LocalKey? key,
  4. String? name,
  5. Object? arguments,
  6. double initialExtent = 1,
  7. List<double>? stops,
  8. bool draggable = true,
  9. SheetFit fit = SheetFit.expand,
  10. SheetPhysics? physics,
  11. Curve? animationCurve,
  12. Duration? duration,
  13. String? sheetLabel,
  14. String? barrierLabel,
  15. Color? barrierColor = _kBarrierColor,
  16. bool barrierDismissible = true,
  17. double willPopThreshold = _kWillPopThreshold,
  18. 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,
      );