media/media_picker
library
Functions
-
showImageListPicker(BuildContext context, {VoidCallback? onPermissionsInitialized, FilesSelected? onSelected, FileChanged? onChange, int maxSelections = 1, bool crop = true, bool preemptPermission = true, MediaSelectFn imageSelector = Choosers.chooseImages, })
→ Future<List<ChosenMedia>?>
-
-
showImagePicker(BuildContext context, {FileChanged? onChange, FilesSelected? onSelected, bool crop = true, VoidCallback? onPermissionsInitialized, bool preemptPermissions = false, bool allowThirdParties = false, })
→ Future<ChosenMedia?>
-
This pops the file picker/cropper and returns a single file.
-
showMediaListPicker(BuildContext context, FlutterMediaContentType<Object> mediaType, {required VoidCallback onLoading, VoidCallback? onPermissionsInitialized, FilesSelected? onSelected, FileChanged? onChange, int maxSelections = 1, double? cropAspectRatio, bool crop = true, bool preemptPermission = true, Set<FileSourceType>? sourceTypes, MediaSelectFn imageSelector = Choosers.flutterFilePicker, })
→ Future<List<ChosenMedia>?>
-