modular_l10n 3.0.0
modular_l10n: ^3.0.0 copied to clipboard
Lightweight locale utilities for Flutter with RTL detection, locale parsing, display names for 70+ languages. Works standalone or with Modular Flutter L10n extension.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add modular_l10nThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
modular_l10n: ^3.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:modular_l10n/modular_l10n.dart';