localization_generator 0.1.1 localization_generator: ^0.1.1 copied to clipboard
A flutter project that used to generate the localization file to help localization easier.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add localization_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
localization_generator: ^0.1.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:localization_generator/dart/list.dart';
import 'package:localization_generator/dart/string.dart';
import 'package:localization_generator/generator/app_localized_class_generator.dart';
import 'package:localization_generator/generator/app_localized_file_generator.dart';
import 'package:localization_generator/generator/generator.dart';
import 'package:localization_generator/generator/intl_generator.dart';
import 'package:localization_generator/generator/localization_class_generator.dart';
import 'package:localization_generator/loader/json_loader.dart';
import 'package:localization_generator/loader/loader.dart';
import 'package:localization_generator/main.dart';
import 'package:localization_generator/parser/icu_parser.dart';
import 'package:localization_generator/parser/parser.dart';
import 'package:localization_generator/parser/token.dart';