openGallery static method
Implementation
static Future<CroppedFile?> openGallery() async {
final image = await _picker.pickImage(source: ImageSource.gallery);
if (image == null) return null;
return cropImage(image.path);
}
static Future<CroppedFile?> openGallery() async {
final image = await _picker.pickImage(source: ImageSource.gallery);
if (image == null) return null;
return cropImage(image.path);
}