polylingual 0.0.2 polylingual: ^0.0.2 copied to clipboard
PolyLingual is a plug-in that provides a means of storing and updating String translations for a Flutter app via a simple JSON file.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add polylingual
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
polylingual: ^0.0.2
Alternatively, 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:polylingual/polylingual.dart';