rw_tts 1.0.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 63

rw_tts #

TTS plugin for RealWear HMT-1(Z1) for Flutter developers.

Usage #

import 'package:rw_tts/rw_tts.dart';

// Set requestCode to less than 1 if you don't need a callback
RwTts.speak('RealWear is awesome!', requestCode: 100).then((requestCode) {
    print('TTS request $requestCode finished');

1.0.2 #

  • Added Flutter 2 compatibility

1.0.1 #

  • Migrated to AndroidX

1.0.0 #

  • Initial release.


import 'package:flutter/material.dart';
import 'package:rw_tts/rw_tts.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  _MyAppState createState() => _MyAppState();

class _MyAppState extends State<MyApp> {
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('RealWear HMT-1 TTS plugin example app'),
        body: Builder(builder: (BuildContext context) {
          return Center(
            child: Column(
              children: <Widget>[
                  onFieldSubmitted: (value) {
                    RwTts.speak(value, requestCode: 100).then((requestCode) {
                        context: context,
                        builder: (BuildContext context) {
                          return AlertDialog(
                            title: Text(''),
                            content: Text('TTS request $requestCode finished'),
                            actions: <Widget>[
                              new FlatButton(
                                child: const Text('OK'),
                                onPressed: () {

Use this package as a library

1. Depend on it

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

  rw_tts: ^1.0.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:rw_tts/rw_tts.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 Jul 2, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.9+1
  • Flutter: 1.17.3

Analysis suggestions

Package does not support Flutter platform linux

Because of import path [package:rw_tts/rw_tts.dart]

Package does not support Flutter platform macos

Because of import path [package:rw_tts/rw_tts.dart]

Package does not support Flutter platform web

Because of import path [package:rw_tts/rw_tts.dart]

Package does not support Flutter platform windows

Because of import path [package:rw_tts/rw_tts.dart]

Package not compatible with SDK dart

because of import path [rw_tts]


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.0
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8
Dev dependencies