NiceNumberFormat class
Locale-aware number formatting
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
compact(
num number) → String -
currency(
num amount, {String symbol = '\$', int decimals = 2, bool symbolBefore = true, String? locale}) → String -
format(
num number, {int decimals = 0, String? locale, String? groupSeparator, String? decimalSeparator}) → String -
percentage(
num value, {int decimals = 0}) → String