getImageAsFile static method

Future<File?> getImageAsFile()

Picker that close after selecting 1 image and return a html.File of the selected image.

Implementation

static Future<html.File?> getImageAsFile() {
  return ImagePickerWeb._pickFile('image');
}