Sheet constructor
const
Sheet({
- Key? key,
- required Widget child,
- SheetController? controller,
- SheetPhysics? physics,
- double? initialExtent,
- double? minExtent,
- double? maxExtent,
- double minInteractionExtent = 20.0,
- Color? backgroundColor,
- Clip? clipBehavior,
- ShapeBorder? shape,
- double? elevation,
- SheetFit fit = SheetFit.loose,
- bool resizable = false,
- EdgeInsets padding = EdgeInsets.zero,
- double? minResizableExtent,
Creates a material bottom sheet.
Implementation
const Sheet({
super.key,
required this.child,
this.controller,
this.physics,
this.initialExtent,
this.minExtent,
this.maxExtent,
this.minInteractionExtent = 20.0,
this.backgroundColor,
this.clipBehavior,
this.shape,
this.elevation,
this.fit = SheetFit.loose,
this.resizable = false,
this.padding = EdgeInsets.zero,
this.minResizableExtent,
}) : decorationBuilder = null;