flutter_l10n 0.1.2 copy "flutter_l10n: ^0.1.2" to clipboard
flutter_l10n: ^0.1.2 copied to clipboard

outdated

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.2'

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).***.
2
likes
0
pub points
25%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, flutter, logging, path

More

Packages that depend on flutter_l10n