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

Locale-aware amount formatter with a native bridge that reads the device's true Region setting — the one that drives the numeric keyboard's decimal key.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add amount_localizer

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  amount_localizer: ^2.0.0

Alternatively, 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:amount_localizer/amount_localizer.dart';
0
likes
140
points
3.16k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Locale-aware amount formatter with a native bridge that reads the device's true Region setting — the one that drives the numeric keyboard's decimal key.

Repository (GitHub)
View/report issues

Topics

#localization #intl #currency #formatting

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on amount_localizer

Packages that implement amount_localizer