OnRequestPickImage typedef
OnRequestPickImage =
Future<String?> Function(BuildContext context, ImagePickerService imagePickerService)
When request picking an image, for example when the image button toolbar clicked, it should be null in case the user didn't choose any image or any other reasons, and it should be the image file path as string that is exists in case the user picked the image successfully
by default we already have a default implementation that show a dialog request the source for picking the image, from gallery, link or camera
Implementation
typedef OnRequestPickImage = Future<String?> Function(
BuildContext context,
ImagePickerService imagePickerService,
);