numberunit 0.0.3 copy "numberunit: ^0.0.3" to clipboard
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
0
likes
110
pub points
0%
popularity

Publisher

unverified uploader

单位工具

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on numberunit