flutter_l10n 0.1.3

Flutter Android iOS

Simple cmd tools for Flutter localazitions. It can generate localazition codes from arb files by one cmd.

flutter_l10n #

Flutter localizations.

Getting Started #

Install #

dev_dependencies:
  ...
  flutter_l10n: '^0.1.3'

Usage #

  1. Generate S.dart file from *.arb files.
    flutter pub run flutter_l10n:build.

  2. Register in MaterialApp/WidgetsApp:

MaterialApp(
  localizationsDelegates: [
    S.delegate,
  ],
);
  1. Reference strings by S.of(context).***.
1
likes
80
pub points
67%
popularity

Simple cmd tools for Flutter localazitions. It can generate localazition codes from arb files by one cmd.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ceyicn@gmail.com

License

unknown (LICENSE)

Dependencies

args, flutter, logging, path

More

Packages that depend on flutter_l10n