FlutterMoney class

FlutterMoney instance

Constructors

FlutterMoney({double amount = 0, MoneyFormatterSettings? settings})
Init instance of FlutterMoney

Properties

amount double
Amount number that will be formatted.
getter/setter pair
comparator MoneyFormatterCompare
Comparator
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
output MoneyFormatterOutput
Returns compiled and formatted output in several formats.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings MoneyFormatterSettings
The formatter settings
getter/setter pair

Methods

copyWith({double? amount, String? symbol, String? thousandSeparator, String? decimalSeparator, int? fractionDigits, String? symbolAndNumberSeparator, CompactFormatType? compactFormatType}) FlutterMoney
Copies current instance and change some values to the new instance.
fastCalc({FastCalcType? type, double amount = 0}) FlutterMoney
returns FlutterMoneyFormatter after calculating amount.
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