PrinterText class
Class representing text to be printed.
This class allows specifying the text content and formatting options.
Constructors
- PrinterText.new(String value, {PrinterStringAlign align = PrinterStringAlign.start, PrinterStringSize size = PrinterStringSize.medium, PrinterStringZoom zoom = PrinterStringZoom.zero})
-
const
Properties
- align → PrinterStringAlign
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → PrinterStringSize
-
The size of the text.
final
- value → String
-
finalinherited
- zoom → PrinterStringZoom
-
The zoom level of the text.
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