messages_builder 0.2.0 messages_builder: ^0.2.0 copied to clipboard
Build the messages for consumption by package:messages
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add messages_builder
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
messages_builder: ^0.2.0
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:messages_builder/arb_parser.dart';
import 'package:messages_builder/builder.dart';
import 'package:messages_builder/code_generation/class_generation.dart';
import 'package:messages_builder/code_generation/code.dart';
import 'package:messages_builder/code_generation/constructor_generation.dart';
import 'package:messages_builder/code_generation/field_generation.dart';
import 'package:messages_builder/code_generation/generation.dart';
import 'package:messages_builder/code_generation/import_generation.dart';
import 'package:messages_builder/code_generation/library_generation.dart';
import 'package:messages_builder/code_generation/method_generation.dart';
import 'package:messages_builder/generation_options.dart';
import 'package:messages_builder/message_parser/icu_message_parser.dart';
import 'package:messages_builder/message_parser/message_parser.dart';
import 'package:messages_builder/message_parser/plural_parser.dart';
import 'package:messages_builder/message_parser/select_parser.dart';
import 'package:messages_builder/message_with_metadata.dart';