flutter_translated_text 1.0.0 copy "flutter_translated_text: ^1.0.0" to clipboard
flutter_translated_text: ^1.0.0 copied to clipboard

A widget for translating text using GoogleTranslator

translated_text #

TranslatedText Widget #

You can use the TranslatedText widget as a replacement for the Text widget to get the benefits of translate() method directly in the widget tree (UI Layer).

TranslatedText(
  "Hello, World!",
  loadingText: 'Loading...',
  from: 'en',
  to: 'ar',
  style: TextStyle(fontSize: 20),
)

// prints مرحبا بالعالم!

Changes: #

Separated TranslatedText from translator package because of Flutter dependency reasons.

Contribution: @moazelsawaf #

Disclaimer #

This package is developed for educational purposes only. Do not depend on this package as it may break anytime as it is based on crawling the Google Translate website. Consider buying Official Google Translate API for other types of usage.

1
likes
140
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

A widget for translating text using GoogleTranslator

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, translator

More

Packages that depend on flutter_translated_text