number_display 3.0.0
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_displayWith Flutter:
$ flutter pub add number_displayThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
number_display: ^3.0.0Alternatively, 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';