locale_names 0.0.1-beta locale_names: ^0.0.1-beta copied to clipboard
A Flutter package that provide locale display names in locales.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add locale_names
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
locale_names: ^0.0.1-beta
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_names/locale_names.dart';