ztexts 0.2.1 ztexts: ^0.2.1 copied to clipboard
A Dart cli tool for fetching and consuming texts. Purpose: get texts from a source and send them to a destination. Example: from Applanga to Flutter app (i18n) or console log.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ztexts
With Flutter:
$ flutter pub add ztexts
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ztexts: ^0.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:ztexts/app/app_consumer.dart';
import 'package:ztexts/app/gen_lang/core_18n.dart';
import 'package:ztexts/app/gen_lang/extra_json_file_tool.dart';
import 'package:ztexts/app/gen_lang/extra_json_message_tool.dart';
import 'package:ztexts/app/gen_lang/generate_i18n_dart.dart';
import 'package:ztexts/app/gen_lang/generate_message_all.dart';
import 'package:ztexts/app/gen_lang/print_tool.dart';
import 'package:ztexts/applanga/applanga_fetcher.dart';
import 'package:ztexts/execute.dart';
import 'package:ztexts/log/log_consumer.dart';
import 'package:ztexts/texts.dart';
import 'package:ztexts/texts_config.dart';
import 'package:ztexts/texts_consumer.dart';
import 'package:ztexts/texts_factory.dart';
import 'package:ztexts/texts_fetcher.dart';
import 'package:ztexts/texts_utils.dart';