QrCode class

QR Code widget (byte mode, ECC-M by default).

Inheritance

Constructors

QrCode(String data, {double size = 96, String color = '000000', String backgroundColor = 'FFFFFF', QrEcc ecc = QrEcc.m, int padding = 2})
QrCode API.
const

Properties

backgroundColor → String
backgroundColor API.
final
color → String
color API.
final
data → String
data API.
final
ecc → QrEcc
ecc API.
final
flowChildren → List<Widget>?
Children MultiPage should flow individually (vertical columns).
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
padding → int
Quiet-zone modules around the matrix.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double
size API (points, square).
final

Methods

layout(Context context, BoxConstraints constraints) → PwBox
layout API.
override
layoutSpan(Context context, BoxConstraints constraints) → SpanSlice?
Split across pages when constraints has a bounded height.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintStamp(Context context, double pageW, double pageH) → void
Stamp paint. The default lays out and paints glyph by glyph.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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