diff --git a/CHANGELOG.md b/CHANGELOG.md index 806d71b..5188441 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.0.2+1] + +* Button color + ## [1.0.2] *upgrade lib diff --git a/examples/test/widget_test.dart b/examples/test/widget_test.dart index 1c06944..9ab4255 100644 --- a/examples/test/widget_test.dart +++ b/examples/test/widget_test.dart @@ -8,13 +8,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:examples/main.dart'; - void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const MyApp()); - // Verify that our counter starts at 0. expect(find.text('0'), findsOneWidget); expect(find.text('1'), findsNothing); diff --git a/lib/plugins/mdnsService/commWidgets/info.dart b/lib/plugins/mdnsService/commWidgets/info.dart index 327d2d9..2378726 100644 --- a/lib/plugins/mdnsService/commWidgets/info.dart +++ b/lib/plugins/mdnsService/commWidgets/info.dart @@ -61,7 +61,7 @@ class InfoPage extends StatelessWidget { IconButton( icon: Icon( Icons.edit, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _renameDialog(context); @@ -72,7 +72,7 @@ class InfoPage extends StatelessWidget { actions.add(IconButton( icon: Icon( Icons.delete_forever, - color: Colors.white, + color: Colors.red, ), onPressed: () { _deleteDialog(context, portService); diff --git a/lib/plugins/mdnsService/devices/local/dht.dart b/lib/plugins/mdnsService/devices/local/dht.dart index 18e95b9..bd69196 100644 --- a/lib/plugins/mdnsService/devices/local/dht.dart +++ b/lib/plugins/mdnsService/devices/local/dht.dart @@ -97,7 +97,7 @@ class _DHTPageState extends State { IconButton( icon: Icon( Icons.refresh, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _getCurrentStatus(); @@ -105,7 +105,7 @@ class _DHTPageState extends State { IconButton( icon: Icon( Icons.settings, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _setting(); @@ -113,7 +113,7 @@ class _DHTPageState extends State { IconButton( icon: Icon( Icons.file_upload, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _ota(); diff --git a/lib/plugins/mdnsService/devices/local/lightLevel.dart b/lib/plugins/mdnsService/devices/local/lightLevel.dart index 594f3fd..be1159b 100644 --- a/lib/plugins/mdnsService/devices/local/lightLevel.dart +++ b/lib/plugins/mdnsService/devices/local/lightLevel.dart @@ -91,7 +91,7 @@ class _LightLevelPageState extends State { IconButton( icon: Icon( Icons.refresh, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _getCurrentStatus(); @@ -99,7 +99,7 @@ class _LightLevelPageState extends State { IconButton( icon: Icon( Icons.settings, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _setting(); @@ -107,7 +107,7 @@ class _LightLevelPageState extends State { IconButton( icon: Icon( Icons.file_upload, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _ota(); diff --git a/lib/plugins/mdnsService/devices/local/oneKeySwitch.dart b/lib/plugins/mdnsService/devices/local/oneKeySwitch.dart index 92184f6..eb9594a 100644 --- a/lib/plugins/mdnsService/devices/local/oneKeySwitch.dart +++ b/lib/plugins/mdnsService/devices/local/oneKeySwitch.dart @@ -37,7 +37,7 @@ class _OneKeySwitchPageState extends State { IconButton( icon: Icon( Icons.settings, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _setting(); diff --git a/lib/plugins/mdnsService/devices/local/phicommDC1Plugin.dart b/lib/plugins/mdnsService/devices/local/phicommDC1Plugin.dart index 0d2d3c1..289d267 100644 --- a/lib/plugins/mdnsService/devices/local/phicommDC1Plugin.dart +++ b/lib/plugins/mdnsService/devices/local/phicommDC1Plugin.dart @@ -156,7 +156,7 @@ class _PhicommDC1PluginPageState extends State { IconButton( icon: Icon( Icons.refresh, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _getCurrentStatus(); @@ -164,7 +164,7 @@ class _PhicommDC1PluginPageState extends State { IconButton( icon: Icon( Icons.settings, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _setting(); @@ -172,7 +172,7 @@ class _PhicommDC1PluginPageState extends State { IconButton( icon: Icon( Icons.file_upload, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _ota(); diff --git a/lib/plugins/mdnsService/devices/local/phicommTC1A1Plugin.dart b/lib/plugins/mdnsService/devices/local/phicommTC1A1Plugin.dart index 249df05..510c192 100644 --- a/lib/plugins/mdnsService/devices/local/phicommTC1A1Plugin.dart +++ b/lib/plugins/mdnsService/devices/local/phicommTC1A1Plugin.dart @@ -123,7 +123,7 @@ class _PhicommTC1A1PluginPageState extends State { IconButton( icon: Icon( Icons.refresh, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _getCurrentStatus(); diff --git a/lib/plugins/mdnsService/devices/local/rgbaLed.dart b/lib/plugins/mdnsService/devices/local/rgbaLed.dart index 261f181..5bf77ea 100644 --- a/lib/plugins/mdnsService/devices/local/rgbaLed.dart +++ b/lib/plugins/mdnsService/devices/local/rgbaLed.dart @@ -110,7 +110,7 @@ class _RGBALedPageState extends State { IconButton( icon: Icon( Icons.settings, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _setting(); @@ -118,7 +118,7 @@ class _RGBALedPageState extends State { IconButton( icon: Icon( Icons.file_upload, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _ota(); diff --git a/lib/plugins/mdnsService/devices/local/seial315433.dart b/lib/plugins/mdnsService/devices/local/seial315433.dart index 7d8ae1d..c41aa8f 100644 --- a/lib/plugins/mdnsService/devices/local/seial315433.dart +++ b/lib/plugins/mdnsService/devices/local/seial315433.dart @@ -36,7 +36,7 @@ class _Serial315433PageState extends State { IconButton( icon: Icon( Icons.settings, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _setting(); @@ -44,7 +44,7 @@ class _Serial315433PageState extends State { IconButton( icon: Icon( Icons.file_upload, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _ota(); diff --git a/lib/plugins/mdnsService/devices/mqtt/mqttPhicommzM1Plugin.dart b/lib/plugins/mdnsService/devices/mqtt/mqttPhicommzM1Plugin.dart index dc3b1f9..2615b0d 100644 --- a/lib/plugins/mdnsService/devices/mqtt/mqttPhicommzM1Plugin.dart +++ b/lib/plugins/mdnsService/devices/mqtt/mqttPhicommzM1Plugin.dart @@ -143,7 +143,7 @@ class _MqttPhicommzM1PluginPageState extends State { IconButton( icon: Icon( Icons.info, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _info(); diff --git a/lib/plugins/mdnsService/mDNSService/getway.dart b/lib/plugins/mdnsService/mDNSService/getway.dart index 1209b04..ac1d0aa 100644 --- a/lib/plugins/mdnsService/mDNSService/getway.dart +++ b/lib/plugins/mdnsService/mDNSService/getway.dart @@ -81,7 +81,7 @@ class GatewayState extends State { IconButton( icon: Icon( Icons.refresh, - color: Colors.white, + // color: Colors.white, ), onPressed: () { //刷新端口列表 diff --git a/lib/plugins/mdnsService/mDNSService/mdnsResponser.dart b/lib/plugins/mdnsService/mDNSService/mdnsResponser.dart index be854cf..1fed9b1 100644 --- a/lib/plugins/mdnsService/mDNSService/mdnsResponser.dart +++ b/lib/plugins/mdnsService/mDNSService/mdnsResponser.dart @@ -29,7 +29,7 @@ class _MDNSResponserPageState extends State { IconButton( icon: Icon( Icons.refresh, - color: Colors.white, + // color: Colors.white, ), onPressed: () {}), IconButton( diff --git a/lib/plugins/mdnsService/mDNSService/onvifManager.dart b/lib/plugins/mdnsService/mDNSService/onvifManager.dart index bb02717..b404218 100644 --- a/lib/plugins/mdnsService/mDNSService/onvifManager.dart +++ b/lib/plugins/mdnsService/mDNSService/onvifManager.dart @@ -71,7 +71,7 @@ class _OvifManagerPageState extends State { IconButton( icon: Icon( Icons.refresh, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _getList(); @@ -79,7 +79,7 @@ class _OvifManagerPageState extends State { IconButton( icon: Icon( Icons.add_circle, - color: Colors.white, + // color: Colors.white, ), onPressed: () { _addDeviceDialog(); diff --git a/pubspec.lock b/pubspec.lock index 3349c65..b459be9 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -240,22 +240,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "0.6.7" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "04be76c4a4bb50f14904e64749237e541e7c7bcf7ec0b196907322ab5d2fc739" - url: "https://pub.flutter-io.cn" - source: hosted - version: "9.0.16" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: b06739349ec2477e943055aea30172c5c7000225f79dad4702e2ec0eda79a6ff - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.5" matcher: dependency: transitive description: @@ -268,18 +252,18 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.flutter-io.cn" source: hosted - version: "0.8.0" + version: "0.5.0" meta: dependency: transitive description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.flutter-io.cn" source: hosted - version: "1.11.0" + version: "1.10.0" mqtt5_client: dependency: "direct main" description: @@ -605,22 +589,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.1.4" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 - url: "https://pub.flutter-io.cn" - source: hosted - version: "13.0.0" web: dependency: transitive description: name: web - sha256: edc8a9573dd8c5a83a183dae1af2b6fd4131377404706ca4e5420474784906fa + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.0" + version: "0.3.0" webview_flutter: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 5af0dc0..bb3e468 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: openiothub_plugin description: openiothub_plugin -version: 1.0.2 +version: 1.0.2+1 homepage: https://github.com/OpenIoTHub environment: