BottomSheet constructor
Creates a bottom sheet.
Typically, bottom sheets are created implicitly by ScaffoldState.showBottomSheet, for persistent bottom sheets, or by showModalBottomSheet, for modal bottom sheets.
Implementation
const BottomSheet({
Key key,
this.animationController,
this.enableDrag = true,
this.elevation = 0.0,
@required this.onClosing,
@required this.builder
}) : assert(enableDrag != null),
assert(onClosing != null),
assert(builder != null),
assert(elevation != null),
super(key: key);