FlexiFormatter class abstract final

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

call({bool percentSignFirst, RoundMode? roundMode, ExplicitDirection? direction, ShrinkZeroMode? shrinkMode, ShrinkZeroMode? shrikMode, String decimalSeparator, String groupSeparator, int groupCounts, CompactConverter compactConverter, ShrinkZeroConverter? shrinkZeroConverter, Decimal exponentMinDecimal, Decimal exponentMaxDecimal, int scaleOnInfinitePrecision}) → void
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 Properties

currentLocale String
no setter
exponentMaxDecimal → Decimal
no setter
exponentMinDecimal → Decimal
no setter
globalCompactConverter CompactConverter
no setter
globalDecimalSeparator String
no setter
globalExplicitDirection ExplicitDirection?
no setter
globalGroupIntegerCounts int
no setter
globalGroupIntegerSeparator String
no setter
globalRoundMode RoundMode?
no setter
globalShrinkZeroConverter ShrinkZeroConverter?
no setter
globalShrinkZeroMode ShrinkZeroMode?
no setter
percentSignFirst bool
no setter
scaleOnInfinitePrecision int
no setter
setGlobalConfig FlexiFormatter
Configure global settings
no setter

Static Methods

restoreGlobalConfig() → void
Restore the global default configuration
setCurrentLocale([String? locale]) → void
全局设置DataFormat的locale 注意: 调用前需要先调用initializeDateFormatting初始化Intl本地化库