the issue is after calling this code
final picker = ImagePicker();
final image = await picker.pickImage(source: ImageSource.gallery);
user will able to see bottom sheet with all gallery photos
if you try to swip to close it in fast way
in the second or third attempt , the code will not able to access to any line after
final image = await picker.pickImage(source: ImageSource.gallery);
even if you try to use try catch you will not able to catch it
it is really big problem because if you are using state management and get stuck you will not able to do any thing
the issue is after calling this code
final picker = ImagePicker();
final image = await picker.pickImage(source: ImageSource.gallery);
user will able to see bottom sheet with all gallery photos
if you try to swip to close it in fast way
in the second or third attempt , the code will not able to access to any line after
final image = await picker.pickImage(source: ImageSource.gallery);
even if you try to use try catch you will not able to catch it
it is really big problem because if you are using state management and get stuck you will not able to do any thing