howljs / hl_image_picker

Simplify media selection, cropping, and camera functionality in your Flutter app. Choose images/videos from the library, crop images, and capture new photos/videos with ease.
https://pub.dev/packages/hl_image_picker
24 stars 14 forks source link

Cancel button cause the function holding infinitely #20

Closed hewcheehau closed 8 months ago

hewcheehau commented 10 months ago
print("coming from here...");
      final images = await _picker.openPicker(
          pickerOptions: const HLPickerOptions(
        mediaType: MediaType.image,
      ));
      print("finish from here...");

hi everyone experiences on this when user click cancel without select any images, will cause the function on holding. mean will not go to next line of code.

howljs commented 8 months ago

Fixed in version 1.2.13

HenryGaoGH commented 7 months ago

Still exists.

levicn commented 6 months ago

Still exists.

Use try catch