pickFromGallery static method

Future<File?> pickFromGallery()

Pick a single image from gallery

Implementation

static Future<File?> pickFromGallery() async {
  final result = await _channel.invokeMethod<String>('pickFromGallery');
  return result != null ? File(result) : null;
}