reactive_image_picker library
Classes
- ImagePicker
- Provides an easy way to pick an image/video from the image library, or to take a picture/video with the camera.
- ImagePickerWidget
- ImageView
- LostData
- The response object of ImagePicker.retrieveLostData.
- LostDataResponse
-
The response object of
ImagePicker.getLostData
. - PickedFile
- A PickedFile is a cross-platform, simplified File abstraction.
- ReactiveImagePicker
-
A ReactiveImagePicker that contains a
DropdownSearch
. - SelectedFile
- SelectedFileImage
- SelectedFileVideo
- SelectedFileView
- VideoView
- VideoViewState
- XFile
- A CrossFile is a cross-platform, simplified File abstraction.
Enums
- CameraDevice
-
Which camera to use when picking images/videos while source is
ImageSource.camera
. - ImagePickerMode
- ImageSource
- Specifies the source where the picked image should come from.
- RetrieveType
- The type of the retrieved data in a LostDataResponse.
Constants
- kTypeImage → const String
- Denotes that an image is being picked.
- kTypeVideo → const String
- Denotes that a video is being picked.
Functions
-
widgetPopupDialog(
BuildContext context, List< ImagePickerMode> mode) → Future<ImagePickerMode?>
Typedefs
-
DeleteDialogBuilder
= Future<
void> Function(BuildContext context, SelectedFile file, dynamic onConfirm(SelectedFile file)) -
ErrorBuilder
= Map<
String, Object> Function(String errorCode, Object error) - ImagePickCallback = void Function(BuildContext context, ImageSource source)
- InputButtonBuilder = Widget Function(VoidCallback onPressed)
-
OnBeforeChangeCallback
= Future<
List< Function(BuildContext context, List<SelectedFile> >SelectedFile> value) - OnChange = void Function(BuildContext context, SelectedFile? file)
- OnDelete = void Function(BuildContext context, SelectedFile file)
-
PopupDialogBuilder
= Future<
ImagePickerMode?> Function(BuildContext context, List<ImagePickerMode> mode) -
PreprocessPickerError
= Future<
void> Function(Object error) - SelectedFileViewBuilder = Widget Function(SelectedFile image)
- SelectedImageBuilder = Widget Function(SelectedFileImage file)
-
SelectedValueBuilder
= Widget Function(BuildContext context, List<
SelectedFile> image, OnDelete handleDelete, OnChange handleChange) - SelectedVideoBuilder = Widget Function(SelectedFileVideo file)