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