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.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add any_compact_format

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  any_compact_format: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:any_compact_format/any_compact_format.dart';
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