RoundedBottomSheet constructor Null safety
- {Key? key,
- AnimationController? animationController,
- required VoidCallback onClosing,
- required WidgetBuilder builder}
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 RoundedBottomSheet(
{Key? key,
this.animationController,
required this.onClosing,
required this.builder})
: assert(onClosing != null),
assert(builder != null),
super(key: key);