json_file_generator 0.0.2 copy "json_file_generator: ^0.0.2" to clipboard
json_file_generator: ^0.0.2 copied to clipboard

It generates json file from static const string variables declared in .dart file. The generated file i.e strings.json could be used by mojito.global [Translation Management System(TMS)]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add json_file_generator

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

dependencies:
  json_file_generator: ^0.0.2

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:json_file_generator/json_file_generator.dart';
4
likes
110
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

It generates json file from static const string variables declared in .dart file. The generated file i.e strings.json could be used by mojito.global [Translation Management System(TMS)]

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, flutter, path

More

Packages that depend on json_file_generator