showBottomSheet method
void
showBottomSheet(
- BuildContext context, {
- ThemeData? themeData,
- Color? backgroundColor,
- PickerWidgetBuilder? builder,
show picker bottom sheet
Implementation
void showBottomSheet(
BuildContext context, {
ThemeData? themeData,
Color? backgroundColor,
PickerWidgetBuilder? builder,
}) {
Scaffold.of(context).showBottomSheet((BuildContext context) {
final picker = makePicker(themeData);
return builder == null ? picker : builder(context, picker);
}, backgroundColor: backgroundColor);
}