alan_voice 2.0.11 alan_voice: ^2.0.11 copied to clipboard
Alan plugin to add voice to apps with minimal or no changes to the UI.
alan_voice #
This plugin allows you to add voice assistants and chatbots to Flutter apps and create voice interfaces that sync with the app visuals.
Getting started #
To add voice to a Flutter app:
-
Sign up for Alan Studio to build and test voice scripts.
-
Use this plugin to embed the Alan button to your app:
a. In the
pubspec.yaml
file, add the Alan voice dependency://pubspec.yaml file ... dependencies: flutter: sdk: flutter ... alan_voice: 2.0.10
b. Add the
alan_voice
package dependency:import 'package:alan_voice/alan_voice.dart';
c. Add the Alan button to your main widget:
AlanVoice.addButton( "8e0b083e795c924d64635bba9c3571f42e956eca572e1d8b807a3e2338fdd0dc/stage", buttonAlign: AlanVoice.BUTTON_ALIGN_LEFT);
d. Replace the key above with the Alan SDK key of your project in the Alan Studio.
That's it. Now run your app and tap the Alan button!
Examples #
Beginner #
alan_simple_app: an example demonstrating how to integrate Alan with a Flutter app.
Advanced #
Flutter Shrine: a shopping app with a voice interface synchronized with the app visual elements.
Further reading #
For more information, see Alan documentation. README.md Displaying README.md.