ImagePickerIns class

Inheritance
  • Object
  • ImagePicker
  • ImagePickerIns
Implemented types

Constructors

ImagePickerIns()

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

get(Token name) → Object?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pickImage({required ImageSource source, double? maxWidth, double? maxHeight, int? imageQuality, CameraDevice preferredCameraDevice = CameraDevice.rear, bool requestFullMetadata = true}) → Future<XFile?>
Returns an XFile object wrapping the image that was picked.
inherited
pickMedia({double? maxWidth, double? maxHeight, int? imageQuality, bool requestFullMetadata = true}) → Future<XFile?>
Returns an XFile of the image or video that was picked.
inherited
pickMultiImage({double? maxWidth, double? maxHeight, int? imageQuality, int? limit, bool requestFullMetadata = true}) → Future<List<XFile>>
Returns a List<XFile> object wrapping the images that were picked.
inherited
pickMultipleMedia({double? maxWidth, double? maxHeight, int? imageQuality, int? limit, bool requestFullMetadata = true}) → Future<List<XFile>>
Returns a List<XFile> with the images and/or videos that were picked.
inherited
pickMultiVideo({Duration? maxDuration, int? limit}) → Future<List<XFile>>
Returns a List<XFile> of the videos that were picked.
inherited
pickVideo({required ImageSource source, CameraDevice preferredCameraDevice = CameraDevice.rear, Duration? maxDuration}) → Future<XFile?>
Returns an XFile object wrapping the video that was picked.
inherited
retrieveLostData() → Future<LostDataResponse>
Retrieve the lost XFile when pickImage, pickMultiImage or pickVideo failed because the MainActivity is destroyed. (Android only)
inherited
supportsImageSource(ImageSource source) → bool
Returns true if the current platform implementation supports source.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited