ReceiptCaptureOptions class

Bounded PNG capture options. No file is written or uploaded by the package.

Annotations

Constructors

ReceiptCaptureOptions({double pixelRatio = 2, int maxPixels = 16000000, Color backgroundColor = const Color(0x00000000), double padding = 0})
Lower pixelRatio for very tall documents. PNG is the only format.
const

Properties

backgroundColor Color
Transparent by default; supply white for opaque output.
final
hashCode int
The hash code for this object.
no setterinherited
maxPixels int
Upper bound on uncompressed output pixels, excluding codec overhead.
final
padding double
Extra logical space to include painted shadows outside receipt bounds.
final
pixelRatio double
Physical image pixels per logical pixel, independent of display DPR.
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