big_numbers 2.0.0 copy "big_numbers: ^2.0.0" to clipboard
big_numbers: ^2.0.0 copied to clipboard

discontinuedreplaced by: flutter
outdated

big_numbers

big_numbers #

  • Used to shorten numbers phrases

  • Example:

    • 24,532,532 => 24.5M
    • 7,323,232,523 => 7.3B
    • 13,324 => 13.3K
  • You can also add commas to numbers

  • Example: 24532532 => Becomes: 24,532,532

To use the package, import the following path:

import 'package:big_numbers/big_numbers.dart'

To convert big numbers into short phrases, you can use the following:

Text(simplifyNumber('393849257')),

//To add commas to a string, you can use the following:

Text(addNumberCommas('393849257')),

If there are any issues, then please don't hesitate to notify me about it or simply file an issue on GitHub.

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

big_numbers

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on big_numbers