Skip to main content

any_compact_format 1.0.0 copy "any_compact_format: ^1.0.0" to clipboard
any_compact_format: ^1.0.0 copied to clipboard

Compact number formatting for Flutter with exact decimal scaling, customizable locales, scientific notation, file sizes, and metric units.

Changelog #

1.0.0 #

  • Configurable final fallback rendering through CompactFormatOptions.fallbackFormatter, inherited by providers.

  • Compact, scientific, engineering, and subscript/superscript zero-count notation, including narrowNatural.

  • Exact decimal scaling for num, Decimal, and BigInt, with configurable precision and rounding.

  • Binary/decimal file sizes and metric length, area, volume, and mass presets.

  • 24 locale configurations with customizable narrow magnitude labels, including Brazilian and European Portuguese. Japanese, Simplified Chinese, Korean, and Hindi also include native magnitude interval overrides for merging into formats.

  • Extensible intervals, mixed-base powers, callbacks, and Flutter providers/widgets.

3
likes
150
points
41
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Compact number formatting for Flutter with exact decimal scaling, customizable locales, scientific notation, file sizes, and metric units.

Repository (GitHub)
View/report issues

Topics

#compact #formatting #number #units #localization

License

unknown (license)

Dependencies

decimal, flutter, intl

More

Packages that depend on any_compact_format