flutter_translate_annotations 2.1.0
flutter_translate_annotations: ^2.1.0 copied to clipboard
Defines the annotations used by flutter_translate_gen to create statically-typed localization keys.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_translate_annotationsWith Flutter:
$ flutter pub add flutter_translate_annotationsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_translate_annotations: ^2.1.0Alternatively, 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:flutter_translate_annotations/flutter_translate_annotations.dart';