i18n_translator 0.1.0 i18n_translator: ^0.1.0 copied to clipboard
A flutter package design for easy translation or localization that borrows a lot of it's behavior from easy_localization package.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add i18n_translator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
i18n_translator: ^0.1.0
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:i18n_translator/i18n_translator.dart';