better_i18n 0.1.0
better_i18n: ^0.1.0 copied to clipboard
Flutter SDK for better-i18n — runtime translation loading from CDN with offline fallback.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add better_i18nThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
better_i18n: ^0.1.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:better_i18n/better_i18n.dart';