ReceiptTextStyle class
Constructors
- ReceiptTextStyle({ReceiptTextStyleType type = ReceiptTextStyleType.normal, ReceiptTextSizeType size = ReceiptTextSizeType.medium, bool useSpan = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → ReceiptTextSizeType
-
size define size of text,
final
- textSizeHtml → String
-
This getter to get style of alignment text
no setter
- textStyleHTML → String
-
Tag p for normal text, b for bold text and span for left right text
This getter to get tag of text used
no setter
- type → ReceiptTextStyleType
-
type to define weight of text
ReceiptTextStyleType.normal for normal weight
ReceiptTextStyleType.bold for more weight than normal type
final
- useSpan → bool
-
useSpan used only for condition left right 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