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

A simple and lightweight package for translating text using the Google Translate API.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add simple_translator

With Flutter:

 $ flutter pub add simple_translator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  simple_translator: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:simple_translator/simple_translator.dart';
6
likes
160
points
20
downloads

Documentation

API reference

Publisher

verified publisherrahulreza.com

Weekly Downloads

A simple and lightweight package for translating text using the Google Translate API.

Homepage
Repository (GitHub)
View/report issues

Topics

#translator #google-translate #translation #localization #language

License

MIT (license)

Dependencies

http

More

Packages that depend on simple_translator