locale_chain 0.1.0 copy "locale_chain: ^0.1.0" to clipboard
locale_chain: ^0.1.0 copied to clipboard

Smart locale fallback chains for Flutter. Your pt-BR users deserve pt-PT, not English.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add locale_chain

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

dependencies:
  locale_chain: ^0.1.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:locale_chain/locale_chain.dart';
0
likes
160
points
29
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Smart locale fallback chains for Flutter. Your pt-BR users deserve pt-PT, not English.

Repository (GitHub)
View/report issues

Topics

#i18n #localization #locale #fallback #easy-localization

License

MIT (license)

Dependencies

easy_localization, flutter

More

Packages that depend on locale_chain