ImagePickerConfig class

Constructors

ImagePickerConfig({double? maxWidth, double? maxHeight, int? imageQuality, bool? cameraOption})
The ImagePickerConfig is used to configure the ImagePicker.
const

Properties

cameraOption → bool?
final
hashCode → int
The hash code for this object.
no setterinherited
imageQuality → int?
final
maxHeight → double?
final
maxWidth → double?
If specified, the image will be at most maxWidth wide and maxHeight tall. Otherwise the image will be returned at it's original width and height. The imageQuality argument modifies the quality of the image, ranging from 0-100 where 100 is the original/max quality. If imageQuality is null, the image with the original quality will be returned. Compression is only supported for certain image types such as JPEG and on Android PNG and WebP, too. If compression is not supported for the image that is picked, a warning message will be logged.
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