CustomModalBuilder typedef

CustomModalBuilder = Widget Function(BuildContext context, PickerOptions options, void onSelectSource(ImageSource? source))

Custom builder signature for creating fully customized picker sheets.

Implementation

typedef CustomModalBuilder = Widget Function(
  BuildContext context,
  PickerOptions options,
  void Function(ImageSource? source) onSelectSource,
);