pickFromGallery static method
Pick a photo from the gallery (used by the camera UI when allowed).
Implementation
static Future<String?> pickFromGallery() async {
final picker = ImagePicker();
final picked = await picker.pickImage(source: ImageSource.gallery);
return picked?.path;
}