BarcodeProps class abstract final

A barcode or QR code of data, filling the box.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Constants

backgroundColor → const PropDef<Color?>
color → const PropDef<Color?>
Null: the theme's onSurface (ControlTheme), so it reads in light and dark.
data → const PropDef<String>
drawText → const PropDef<bool>
1D codes: the text under the bars.
errorCorrection → const PropDef<BarcodeErrorCorrection>
overlap → const PropDef<double>
Pixels each dark bar and module reaches past its right and bottom edge, so neighbors overlap: no hairline seams where anti-aliased edges meet, and a small ink gain (as canvas.drawRect codes widen bars to hide seams). 0 draws the exact geometry.
spec → const WidgetSpec
symbology → const PropDef<BarcodeSymbology>