text_to_speech_api 0.1.0 text_to_speech_api: ^0.1.0 copied to clipboard
A simple wrapper for accessing Google's Text-To-Spech API and converting the results to MP3 files.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add text_to_speech_api
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
text_to_speech_api: ^0.1.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:text_to_speech_api/text_to_speech_api.dart';