Skip to content

OpenIoTHub/openiothub_plugin

Repository files navigation

openiothub_plugin

云易连APP的UI部分插件,通过添加UI插件以支持更多的

物联网设备私有云服务

开发云易连插件需要包含三步:

例如:

创建一个oneKeySwitch.dart页面
然后在components.dart引入
然后在modelsMap.dart中注册

插件规范:

目前插件规范是引入一个PortService模型,页面根据PortService中保存的信息进行操作
页面一个设一个名叫modelName的静态常亮,这是该模型的唯一ID
具体参考目前的插件页面例子

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.