flexi_formatter 2.0.0
flexi_formatter: ^2.0.0 copied to clipboard
A flexible and customizable Dart/Flutter library for formatting numbers, dates, and other data types.
2.0.0 #
- BREAKING CHANGE: Remove deprecated APIs:
- Remove
groupSepartorparameter fromformatNumber(usegroupSeparatorinstead). - Remove
defaultPrecentSignconstant (usedefaultPercentSigninstead). - Remove
shrikModeparameter fromFlexiFormatter.setGlobalConfig(useshrinkModeinstead).
- Remove
- Require Dart SDK
>=3.5.0 <4.0.0. - Add global configuration
useSystemLocalefor date formatting (default:false).
1.7.3 #
- Fix API naming typos (backward compatible).
- Add
groupSeparatortoformatNumber(deprecated:groupSepartor, to be removed in v2.0.0). - Add
defaultPercentSign(deprecated:defaultPrecentSign, to be removed in v2.0.0). - Add
shrinkModetoFlexiFormatter.setGlobalConfig(deprecated:shrikMode, to be removed in v2.0.0). - Improve
formatAmountprecision handling for compact formatting (whenprecisionis omitted, it defaults to the converted value scale).
1.7.2 #
- Add the rule of displaying positive and negative signs at the beginning
1.7.1 #
- Support grouping for formatPercentage
1.7.0 #
- Add Global Config for scaleOnInfinitePrecision.
- Optimize division operation of Decimal
1.6.6 #
- Date formatting supports to useSystemLocale
- Number formatting precision defaults to the original data precision.
1.6.5 #
- Support for precentage sign display configuration.
1.6.4 #
- bugfix.
1.6.3 #
- Optimize code.
1.6.2 #
- Add extension for date operations
- Adapt to the intl library
- Optimize code.
1.6.1 #
- Optimize code.
1.6.0 #
- Optimize code.
- Support DateTime formatting.
1.5.4 #
- bugfix.
1.5.3 #
- bugfix.
1.5.2 #
- bugfix.
1.5.1 #
- Optimize code.
1.5.0 #
- Optimize global configuration.
- Optimize code.
1.4.0 #
- Support unicode explicit directional(isolates, embeddings, overrides)
- Managemnet global configuration.
- Optimize code.
1.3.0 #
- Support custom grouping.
- Add global configuration.
- Optimize code.
1.2.0 #
- Support Shrink Zero mode.
- Optimize code.
1.1.0 #
- Support Compact Converter.
- Optimize default parameters.
1.0.0 #
- Add number formatting tool.