google_translation 0.1.8
google_translation: ^0.1.8 copied to clipboard
Package to provide support for google translator API in Dart works for multiplatform
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.