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
20 stars 12 forks source link

Cancel button cause the function holding infinitely #20

Closed hewcheehau closed 4 months ago

hewcheehau commented 6 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 4 months ago

Fixed in version 1.2.13

HenryGaoGH commented 2 months ago

Still exists.

levicn commented 1 month ago

Still exists.

Use try catch