easy_l10n_gen 1.0.3 copy "easy_l10n_gen: ^1.0.3" to clipboard
easy_l10n_gen: ^1.0.3 copied to clipboard

CLI to generate Flutter ARB files and config from Dart variables.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate easy_l10n_gen

Use it

The package has the following executables:

$ easy_l10n_gen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add easy_l10n_gen

With Flutter:

 $ flutter pub add easy_l10n_gen

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

dependencies:
  easy_l10n_gen: ^1.0.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:easy_l10n_gen/easy_l10n_gen.dart';
1
likes
150
points
163
downloads

Publisher

unverified uploader

Weekly Downloads

CLI to generate Flutter ARB files and config from Dart variables.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, http, path, translator

More

Packages that depend on easy_l10n_gen