any_compact_format 1.0.0
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_formatThis 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.0Alternatively, 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';