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

Help plugin for RealWear HMT-1(Z1)

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:rw_help/rw_help.dart';

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

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

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();

    RwHelp.setCommands(<String>[
      'Full Boar',
      'California Sunshine',
      'Deadicated',
    ]);
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('RealWear HMT-1(Z1) help example app'),
        ),
        body: Builder(builder: (BuildContext context) {
          return Center(
            child: const Text('Say "Show help"'),
          );
        }),
      ),
    );
  }
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Help plugin for RealWear HMT-1(Z1)

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on rw_help