number_display 3.0.0 copy "number_display: ^3.0.0" to clipboard
number_display: ^3.0.0 copied to clipboard

To display data in a width-limited component, this function will smartly help you to convert number to a certain chart length. To be simple, plain, flexible and accurate.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add number_display

With Flutter:

 $ flutter pub add number_display

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

dependencies:
  number_display: ^3.0.0

Alternatively, your editor might support dart pub get or 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_display/number_display.dart';
76
likes
150
points
3.52k
downloads

Publisher

unverified uploader

Weekly Downloads

To display data in a width-limited component, this function will smartly help you to convert number to a certain chart length. To be simple, plain, flexible and accurate.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on number_display