tree: 007ec112192ea5b7bd573eca5e3f1988794542ff [path history] [tgz]
  1. localized_flutter_app/
  2. localized_flutter_localization/
  3. BUILD.gn
  4. OWNERS
  5. README.md
examples/localized_flutter/README.md

Localized Mod

This is an example of a simple Flutter application that can display localized strings in several supported locales. It uses dart:intl_translation for extracting localized strings from code and for generating the localization-loading classes.

This is intended as a testbed for any efforts to integrate Fuchsia's Gerrit with a translation pipeline.

Building

fx set workstation.chromebook-x64 --with //src/experiences/examples/localized_flutter
fx build

Testing

To run unit tests

fx set workstation.<BOARD> --with //src/experiences:tests
fx run-host-tests localized_flutter_app_unittests