OnImageCaptured typedef
OnImageCaptured =
void Function(dynamic imageFile)
Callback for when an image is captured On web, this will receive XFile. On mobile, File.
Implementation
typedef OnImageCaptured = void Function(dynamic imageFile);