number_formatter2 0.0.4 copy "number_formatter2: ^0.0.4" to clipboard
number_formatter2: ^0.0.4 copied to clipboard

A simple number formatting utility for Flutter and Dart that formats numbers with commas and decimal points, e.g. 1,000.00

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add number_formatter2

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

dependencies:
  number_formatter2: ^0.0.4

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:number_formatter2/number_formatter2.dart';
2
likes
125
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

A simple number formatting utility for Flutter and Dart that formats numbers with commas and decimal points, e.g. 1,000.00

Repository (GitHub)

Topics

#formatting #numbers #utility

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on number_formatter2