PrintRow class
One line to print: a product, a variant, a person, whatever the app prints. The library does not know what it is: it shows title and subtitle, prints quantity copies and asks dataFor the fields of the chosen template.
Constructors
Properties
-
dataFor
→ Map<
String, dynamic> Function(PrintTemplate template) -
Fields of the line for
template, keyed like the designer fields.final - hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
Identifies the line: a second line with the same key is not added.
final
- quantity → int
-
Copies printed for this line. Fixed: a line can only be removed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String
-
final
- title → String
-
final
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