pickImage abstract method

Future<XFile?> pickImage({
  1. ImageSource source = ImageSource.gallery,
})

Pick a single image.

Define the ImageSource On Android and iOS platforms. While on Desktop and Web this will open a dialog image picker

Implementation

Future<XFile?> pickImage({ImageSource source = ImageSource.gallery});