ImagePickerConfiguration class

Constructors

ImagePickerConfiguration({double? maxWidth, double? maxHeight, int? imageQuality, CameraDevice? preferredCameraDevice, Future<String?> onImagePicked(String? path)?})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
imageQuality → int?
Used to give image quality.
final
maxHeight → double?
Used to give max height of image.
final
maxWidth → double?
Used to give max width of image.
final
onImagePicked → Future<String?> Function(String? path)?
Callback when image is picked from camera or gallery, we can perform our task on image like adding crop options and return new image path
final
preferredCameraDevice → CameraDevice?
Preferred camera device to pick image from.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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