amount_formatter 0.0.2 icon indicating copy to clipboard operation
amount_formatter: ^0.0.2 copied to clipboard

A new Flutter project.

An amount formatter.

Features #

  • Format amount
  • Set separator character
  • Set currency

Installation #

Add to pubspec.yaml

dependencies:
  amount_formatter: ^0.0.1

Usage #

/// simple format
final amountFormatter = AmountFormatter();
amountFormatter.format('1000'); // 1 000

/// format with separator and currency
final amountFormatter = AmountFormatter(currency: 'FCFA', separator: ',');
amountFormatter.format('1000'); // 1,000 FCFA
4
likes
90
pub points
17%
popularity

Publisher

unverified uploader

A new Flutter project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on amount_formatter