simple_currency_format 1.0.8
simple_currency_format: ^1.0.8 copied to clipboard
A simple API to format currency values. As pattern, the package use pt_BR locale and R$ symbol.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simple_currency_formatThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
simple_currency_format: ^1.0.8Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simple_currency_format/simple_currency_format.dart';