Pages/ImageDetectionPage/image_file_picker_web library

Functions

listenForDroppedImages(void onImage(Uint8List bytes)) → void Function()
Image files dropped anywhere on the page, until the returned function is called.
pickImageFile() → Future<Uint8List?>
The browser's file dialog for one image; null when the visitor picks nothing.