EasyMediaPicker class
Main controller class for picking images, videos, documents, audio, folders and more.
Works on:
- Android
- iOS
- Web
- Windows
- macOS
- Linux
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
captureImage(
{int? quality}) → Future< PickResult?> - Capture an image using camera.
-
captureVideo(
{Duration? maxDuration}) → Future< PickResult?> - Capture a video using camera.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pickAnyFile(
{bool allowMultiple = false}) → Future< List< PickResult> > - Pick any file type.
-
pickAudio(
AudioPickOptions opt) → Future< List< PickResult> > - Pick audio files (single/multiple).
-
pickDocument(
DocumentPickOptions opt) → Future< List< PickResult> > - Pick documents (single/multiple).
-
pickFolder(
) → Future< String?> - Pick a folder using platform folder-picker dialog.
-
pickImage(
ImagePickOptions opt) → Future< PickResult?> - Pick a single image using ImagePickOptions.
-
pickImages(
{List< String> ? extensions}) → Future<List< PickResult> > - Pick multiple images.
-
pickMedia(
{List< String> ? extensions}) → Future<List< PickResult> > - Pick mixed media (images + videos + audio).
-
pickMultipleImages(
{List< String> ? extensions}) → Future<List< PickResult> > - Alias for pickImages()
-
pickMultipleVideos(
{List< String> ? extensions}) → Future<List< PickResult> > - Alias for pickVideos()
-
pickVideo(
VideoPickOptions opt) → Future< PickResult?> - Pick a single video using VideoPickOptions.
-
pickVideos(
{List< String> ? extensions}) → Future<List< PickResult> > - Pick multiple videos.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited