0 purchases
yonomi device widgets
Yonomi Device Widgets - Flutter #
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.
Table of contents #
Setup
Running tests
Setup #
Cloning the repo #
Clone the repo into your local machine:
git clone https://github.com/Yonomi/yonomi-device-widgets.git
copied to clipboard
Installing the package #
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
copied to clipboard
Running tests #
Prerequisites #
Install lcov:
lcov (For test coverage)
brew install lcov
Run tests with coverage #
flutter test --coverage
genhtml coverage/lcov.info -o coverage/html
open coverage/html/index.html
copied to clipboard
License #
This application is released under the Apache license v2.0
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.