numberunit 0.0.3 icon indicating copy to clipboard operation
numberunit: ^0.0.3 copied to clipboard

单位工具

numberunit #

千分位单位工具.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Usage #

It is really easy to use! You should ensure that you add the numberunit as a dependency in your flutter project.

dependencies:
  numberunit: ^0.0.1

Example #

final val = NumberUnit.thousandFormat(1000);
print(val); // 1,000
final val1 = NumberUnit.thousandFormat(-1000);
print(val1); // -1,000
1
likes
120
pub points
34%
popularity

Publisher

unverified uploader

单位工具

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on numberunit