Sheet constructor

const Sheet({
  1. Key? key,
  2. required Widget child,
  3. SheetController? controller,
  4. SheetPhysics? physics,
  5. double? initialExtent,
  6. double? minExtent,
  7. double? maxExtent,
  8. double minInteractionExtent = 20.0,
  9. Color? backgroundColor,
  10. Clip? clipBehavior,
  11. ShapeBorder? shape,
  12. double? elevation,
  13. SheetFit fit = SheetFit.loose,
  14. bool resizable = false,
  15. EdgeInsets padding = EdgeInsets.zero,
  16. 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;