translations_code_gen 1.2.1 copy "translations_code_gen: ^1.2.1" to clipboard
translations_code_gen: ^1.2.1 copied to clipboard

An application to generate translations keys and values for a dart/flutter application from .json file.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate translations_code_gen

Use it

The package has the following executables:

$ translations_code_gen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add translations_code_gen

With Flutter:

 $ flutter pub add translations_code_gen

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

dependencies:
  translations_code_gen: ^1.2.1

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:translations_code_gen/translations_code_gen.dart';
8
likes
130
points
104
downloads

Publisher

verified publisheryouhanasheriff.com

Weekly Downloads

An application to generate translations keys and values for a dart/flutter application from .json file.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

settings_yaml

More

Packages that depend on translations_code_gen