xapptor_translation 0.0.3 xapptor_translation: ^0.0.3 copied to clipboard
Translation module to use Google translation services and save values in local storage.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add xapptor_translation
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
xapptor_translation: ^0.0.3
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:xapptor_translation/google_translation_api.dart';
import 'package:xapptor_translation/headers_api_request.dart';
import 'package:xapptor_translation/language_picker.dart';
import 'package:xapptor_translation/translate.dart';