flexi_formatter 2.0.0 copy "flexi_formatter: ^2.0.0" to clipboard
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 groupSepartor parameter from formatNumber (use groupSeparator instead).
    • Remove defaultPrecentSign constant (use defaultPercentSign instead).
    • Remove shrikMode parameter from FlexiFormatter.setGlobalConfig (use shrinkMode instead).
  • Require Dart SDK >=3.5.0 <4.0.0.
  • Add global configuration useSystemLocale for date formatting (default: false).

1.7.3 #

  • Fix API naming typos (backward compatible).
  • Add groupSeparator to formatNumber (deprecated: groupSepartor, to be removed in v2.0.0).
  • Add defaultPercentSign (deprecated: defaultPrecentSign, to be removed in v2.0.0).
  • Add shrinkMode to FlexiFormatter.setGlobalConfig (deprecated: shrikMode, to be removed in v2.0.0).
  • Improve formatAmount precision handling for compact formatting (when precision is 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.
1
likes
160
points
319
downloads

Publisher

unverified uploader

Weekly Downloads

A flexible and customizable Dart/Flutter library for formatting numbers, dates, and other data types.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

decimal, intl

More

Packages that depend on flexi_formatter