show method

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