Device Widgets are rich UI components that represent traits supported by our platform (such as Lights, Locks, Thermostats). They are composable and infinitely customizable. They are open-source, and allow developers to build their own device UIs that are intuitive and inherently tied to the traits and actions featured in our platform's Graph API.
Clone the repo into your local machine:
git clone https://github.com/Yonomi/yonomi-device-widgets.git
In your Flutter app, open your pubspec.yaml
file and add the following entry under the dependencies
section:
dependencies:
...
yonomi_device_widgets: ^1.0.0
- Install lcov:
brew install lcov
flutter test --coverage
genhtml coverage/lcov.info -o coverage/html
open coverage/html/index.html
This application is released under the Apache license v2.0