ImageOptions class Null safety

Specifies image-specific options for picking.

Constructors

ImageOptions({double? maxHeight, double? maxWidth, int? imageQuality, bool requestFullMetadata = true})
Creates an instance with the given maxHeight, maxWidth, imageQuality and requestFullMetadata.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
imageQuality int?
Modifies the quality of the image, ranging from 0-100 where 100 is the original/max quality.
final
maxHeight double?
The maximum height of the image, in pixels.
final
maxWidth double?
The maximum width of the image, in pixels.
final
requestFullMetadata bool
If true, requests full image metadata, which may require extra permissions on some platforms, (e.g., NSPhotoLibraryUsageDescription on iOS).
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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