language_translator 0.0.7
language_translator: ^0.0.7 copied to clipboard
A lightweight Flutter package for easy multilingual support, providing string translation with or without context, RTL support, and a custom widget for translated text display.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add language_translatorThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
language_translator: ^0.0.7Alternatively, 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:language_translator/language_translator.dart';