alan_voice 1.2.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 63

alan_voice #

Alan voice plugin

About #

This plugin helps you to integrate Alan voice experience into your Flutter app

Quickstart #

Add Alan Voice dependency to your app

your pubspec.yaml file:

    sdk: flutter
  alan_voice: 0.5.0    

We will use Flutter sample app from here:

Clone this repo and open main.dart file.

First add alan_voice package dependency

import 'package:alan_voice/alan_voice.dart';

Than locate MyButtonState class Remove everything from it and paste following code:

class MyButtonState extends State<MyButton> {
  bool _enabled = true; //start button state

  void _initAlanButton() async {
    //init Alan with sample project id

    setState(() {
      _enabled = false;

And now modify main widget:

  1. locate this string
new Text(displayedString, style: new TextStyle(fontSize: 40.0)),

and change it to

new Text("Alan voice example", style: new TextStyle(fontSize: 40.0)),
  1. locate following line in the RaisedButton widget params:
onPressed: onPressOfButton

and change it to

onPressed: _initAlanButton
  1. That's it. Now run your app and press the button!

See: for more info.

1.2.2 #

Updated description

1.2.1 #

Add description and link to the docs section

1.2.0 #

Added wakeword model auto update Added s2t panel option studio support

1.1.0 #

Add wakeword option

1.0.2 #

Add support for multiple endpoints

1.0.1 #

Fix entities coloring in the STT panel

1.0.0 #

Add connection state callbacks

0.9.0 #

Button colors can now be customized from the Alan tutor project page

0.8.5 #

Added animations to color transitions

0.8.4 #

Add coloring to STT panel

0.8.3 #

Fix button turn off

0.8.2 #

Enable|disable STT panel switch

0.8.1 #

Fix button clickthrough

0.8.0 #

Alan button drag&drop support

0.7.0 #

Add STT panel

0.6.7 #

Fix Alan hint tappable space

0.6.6 #

Add init overloads

0.6.5 #

Fix QR code recognition

0.6.4 #

Additional logging

Added Alan hint

0.6.3 #

  • Fix docs

0.6.2 #

  • Add QR callback

0.6.0 #

  • Added commands callbacks

0.5.0 #

  • Initial release


alan_voice_example #

Demonstrates how to use the alan_voice plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  alan_voice: ^1.2.2

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:alan_voice/alan_voice.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Nov 11, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.0
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
package_info ^0.4.0+9 0.4.0+10
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies