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