showBottomSheet method

void showBottomSheet(
  1. BuildContext context, {
  2. ThemeData? themeData,
  3. Color? backgroundColor,
  4. 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);
}