flutter_localisation 2.0.0 copy "flutter_localisation: ^2.0.0" to clipboard
flutter_localisation: ^2.0.0 copied to clipboard

A command-line tool for generating localization files for different flavors.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate flutter_localisation

Use it

The package has the following executables:

$ flutter_localisation
$ generate

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_localisation

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

dependencies:
  flutter_localisation: ^2.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:flutter_localisation/flutter_localisation.dart';
1
likes
150
points
87
downloads

Publisher

unverified uploader

Weekly Downloads

A command-line tool for generating localization files for different flavors.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_localizations, http, intl, logging, mockito, path, shared_preferences

More

Packages that depend on flutter_localisation