voo_watch_ui 0.4.0
voo_watch_ui: ^0.4.0 copied to clipboard
Cross-platform UI DSL for smartwatches. Define your watch UI in Dart and render it identically on Apple Watch (native SwiftUI) and Wear OS (Flutter).
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate voo_watch_uiUse it
The package has the following executables:
$ voo_watch_ui
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add voo_watch_uiThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
voo_watch_ui: ^0.4.0Alternatively, 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:voo_watch_ui/voo_watch_ui.dart';