google_translation 0.1.8 copy "google_translation: ^0.1.8" to clipboard
google_translation: ^0.1.8 copied to clipboard

Package to provide support for google translator API in Dart works for multiplatform

example/README.md

Google Translation API Example

Usage example

final result = await GoogleTranslation().simpleTextTranslate(
    inputText: "TEXT_NEED_TRANSLATE",
    sourceLanguage: "en", // optional
    targetLanguage: "vi",
    googleAPIKey: "YOUR_GOOGLE_API_KEY", // optional. If already setup above then doesn't need
);

print("Result: $result"); // output value

Go to google_translation_example to view more.

2
likes
160
points
29
downloads

Publisher

verified publisherbrosprogrammer.com

Weekly Downloads

Package to provide support for google translator API in Dart works for multiplatform

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on google_translation