locale_manager 0.0.2+4
locale_manager: ^0.0.2+4 copied to clipboard
Flutter plugin to manage the locale of the native layer. This plugin provides a convenient way to handle localization in your Flutter app.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add locale_managerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
locale_manager: ^0.0.2+4Alternatively, 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_manager/locale_manager.dart';