MoneyFormatterOutput class
MoneyFormatterOutput instance.
This instance will be used as FlutterMoneyFormatter
output container. So you can take whatever format
you need from this instance.
Constructors
- MoneyFormatterOutput({required String nonSymbol, required String symbolOnLeft, required String symbolOnRight, required String compactNonSymbol, required String compactSymbolOnLeft, required String compactSymbolOnRight, required String fractionDigitsOnly, required String withoutFractionDigits})
- Init instance of MoneyFormatterOutput
Properties
- compactNonSymbol → String
-
Returns compact format number without currency symbol
final
- compactSymbolOnLeft → String
-
Returns compact format number with currency symbol on the left side.
final
- compactSymbolOnRight → String
-
Returns compact format number with currency symbol on the right side.
final
- fractionDigitsOnly → String
-
Returns decimal-only with length as specified on fractionDigits.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nonSymbol → String
-
Returns formatted number without currency symbol
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbolOnLeft → String
-
Returns formatted number with currency symbol on the left side.
final
- symbolOnRight → String
-
Returns formatted number with currency symbol on the right side.
final
- withoutFractionDigits → String
-
Returns formatted number without decimal.
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