translator_plus
1.0.1, released 3 years ago by an unverified publisher
Free and unlimited Google Translate API wrapper for Dart and Flutter.
WASM-ready
What it does
Translates strings and text between different languages using a free Google Translate API approach. It supports auto-detecting source languages, returning detailed Translation objects, and provides a convenient string extension method.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a quick translation tool for educational purposes.
- You want to translate text strings in Dart or Flutter without setting up paid API keys.
Skip it when
- You are building a production app, as the underlying web crawling may break at any time.
- You need an official, guaranteed stable Google Translate API.
Strengths
- Free and unlimited to use
- Supports auto-detection of source languages
- Provides a convenient string extension method for direct translations
Weaknesses
- Based on crawling the Google Translate website and may break anytime
- Disclaimer explicitly states it should not be used for production
- Not documented for complex localization architectures
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
final translator = GoogleTranslator();
var translation = await translator.translate("Dart is very cool!", to: 'pl');
print(translation);Alternatives
Packages that do the same job and could replace translator_plus.