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
getImage({required ImageSource source, double? maxWidth, double? maxHeight, int? imageQuality, CameraDevice preferredCameraDevice = CameraDevice.rear}) Future<PickedFile?>
Returns a PickedFile object wrapping the image that was picked.
inherited
getLostData() Future<LostData>
Retrieve the lost PickedFile when selectImage or selectVideo failed because the MainActivity is destroyed. (Android only)
inherited
getVideo({required ImageSource source, CameraDevice preferredCameraDevice = CameraDevice.rear, Duration? maxDuration}) Future<PickedFile?>
Returns a PickedFile object wrapping the video that was picked.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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