IosScannerOptions class final

Different options that modify the behavior of the document scanner on iOS.

The imageFormat specifies the format of the output image file. Available options are IosImageFormat.jpeg or IosImageFormat.png. Default value is IosImageFormat.png.

If imageFormat is set to IosImageFormat.jpeg the jpgCompressionQuality can be used to control the quality of the resulting JPEG image. The value 0.0 represents the maximum compression (or lowest quality) while the value 1.0 represents the least compression (or best quality). Default value is 1.0.

Constructors

IosScannerOptions.new({IosImageFormat imageFormat = IosImageFormat.png, double jpgCompressionQuality = 1.0})
Creates a IosScannerOptions.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
imageFormat IosImageFormat
final
jpgCompressionQuality double
The quality of the resulting JPEG image, expressed as a value from 0.0 to 1.0.
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