flutterl10nmanager 1.0.1 flutterl10nmanager: ^1.0.1 copied to clipboard
A package to help manage multiple languages in a Flutter project.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutterl10nmanager
Use it
The package has the following executables:
$ flutterl10nmanager
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutterl10nmanager
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flutterl10nmanager: ^1.0.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutterl10nmanager/commands/create.dart';
import 'package:flutterl10nmanager/commands/export.dart';
import 'package:flutterl10nmanager/entities/localisation.dart';
import 'package:flutterl10nmanager/helpers.dart';
import 'package:flutterl10nmanager/manager.dart';