lang_env 1.0.0 copy "lang_env: ^1.0.0" to clipboard
lang_env: ^1.0.0 copied to clipboard

A Flutter utility package for retrieving device and application locale information using official Flutter APIs.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add lang_env

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

dependencies:
  lang_env: ^1.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:lang_env/lang_env.dart';
1
likes
160
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter utility package for retrieving device and application locale information using official Flutter APIs.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on lang_env