fluent_gen 0.1.0-dev.0 copy "fluent_gen: ^0.1.0-dev.0" to clipboard
fluent_gen: ^0.1.0-dev.0 copied to clipboard

Typed Dart calls for fluent_bundle — reads your .ftl files at build time and generates methods, so misspelled names and wrong arguments fail to compile. Dev-dependency only.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add fluent_gen

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

dependencies:
  fluent_gen: ^0.1.0-dev.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:fluent_gen/builder.dart';
import 'package:fluent_gen/testing.dart';
1
likes
0
points
106
downloads

Publisher

verified publisherwhuppi.com

Weekly Downloads

Typed Dart calls for fluent_bundle — reads your .ftl files at build time and generates methods, so misspelled names and wrong arguments fail to compile. Dev-dependency only.

Repository (GitHub)
View/report issues

Topics

#i18n #localization #fluent #codegen #build-runner

License

unknown (license)

Dependencies

build, dart_style, fluent_bundle, glob, path

More

Packages that depend on fluent_gen