SunmiStyle class Null safety
SunmiStyle
With this class you can build your own layout to print some text. The thext can come already with align, fontSize and bold, and then you don't need to type 3 commands to do the same THING!
Constructors
- SunmiStyle({SunmiFontSize? fontSize, SunmiPrintAlign? align, bool? bold})
Properties
- align ↔ SunmiPrintAlign?
-
read / write
- bold ↔ bool?
-
read / write
- fontSize ↔ SunmiFontSize?
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited