shamblett / mqtt_client

A server and browser based MQTT client for dart
Other
552 stars 179 forks source link

Cannot run demo on windows platform #106

Closed Tumbler0809 closed 5 years ago

Tumbler0809 commented 5 years ago

The android platform can run the demo normally but the demo cannot be run on the windows platform. The error is as follows: C:\Users\Orion\Desktop\ssc\mqtt_client-development\example\flutter>set ENABLE_FLUTTER_DESKTOP=true

C:\Users\Orion\Desktop\ssc\mqtt_client-development\example\flutter>flutter devices 1 connected device:

Windows • Windows • windows-x64 • Microsoft Windows [Version 10.0.17134.885]

C:\Users\Orion\Desktop\ssc\mqtt_client-development\example\flutter>flutter packages get Running "flutter pub get" in flutter... 0.5s

C:\Users\Orion\Desktop\ssc\mqtt_client-development\example\flutter>flutter precache --windows

C:\Users\Orion\Desktop\ssc\mqtt_client-development\example\flutter>flutter run Launching lib\main.dart on Windows in debug mode... Building Windows application... flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #12 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #13 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #14 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #16 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #17 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #18 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #20 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #21 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5120:14) flutter: #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #27 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #28 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #32 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #33 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #34 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #35 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #36 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #37 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #38 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #39 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #40 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #42 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #43 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #44 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #45 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #46 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #49 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #50 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #51 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #52 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #54 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5120:14) flutter: #55 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #60 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11) flutter: #61 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #62 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #65 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #66 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #67 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #68 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #69 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #70 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #71 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #72 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #73 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #74 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #76 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #77 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #78 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #79 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11) flutter: #80 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #81 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #82 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #84 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #85 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #86 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #87 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #88 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #89 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #90 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #91 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #92 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11) flutter: #93 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #94 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #95 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #97 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #98 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5) flutter: #99 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11) flutter: #100 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5) flutter: #101 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14) flutter: #102 Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12) flutter: #103 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:998:16) flutter: #104 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:969:5) flutter: #105 RenderObjectToWidgetAdapter.attachToRenderTree. (package:flutter/src/widgets/binding.dart:915:17) flutter: #106 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2321:19) flutter: #107 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:914:13) flutter: #108 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:795:7) flutter: #109 runApp (package:flutter/src/widgets/binding.dart:845:7) flutter: #110 main (package:mqtt_client_example/main.dart:9:16) flutter: #111 _runMainZoned.. (dart:ui/hooks.dart:218:25) flutter: #116 _runMainZoned. (dart:ui/hooks.dart:210:5) flutter: #117 _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:19) flutter: #118 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided 4 frames from package dart:async) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. Syncing files to device Windows... 1,820ms

🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R". An Observatory debugger and profiler on Windows is available at: http://127.0.0.1:5968/TNtfE9wBKig=/ For a more detailed help message, press "h". To detach, press "d"; to quit, press "q". flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform.

Initializing hot reload... |flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) /flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. Reloaded 0 of 500 libraries in 301ms. flutter: Another exception was thrown: Unknown platform.

Performing hot reload... \flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) |flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) Reloaded 0 of 500 libraries in 226ms.

Performing hot reload... Reloaded 0 of 500 libraries in 102ms.

Performing hot reload... Reloaded 0 of 500 libraries in 98ms.

Performing hot reload... Reloaded 0 of 500 libraries in 97ms.

Performing hot reload... Reloaded 0 of 500 libraries in 98ms.

Performing hot reload... Reloaded 0 of 500 libraries in 93ms.

Performing hot reload... Reloaded 0 of 500 libraries in 96ms.

Performing hot reload... Reloaded 0 of 500 libraries in 88ms.

Performing hot reload... Reloaded 0 of 500 libraries in 88ms.

flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) Performing hot reload... \flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) Reloaded 0 of 500 libraries in 477ms.

Performing hot reload... Reloaded 0 of 500 libraries in 86ms.

Performing hot reload... Reloaded 0 of 500 libraries in 90ms.

Performing hot reload... Reloaded 0 of 500 libraries in 110ms.

Performing hot reload... Reloaded 0 of 500 libraries in 136ms.

Performing hot reload... Reloaded 0 of 500 libraries in 83ms.

Performing hot reload... Reloaded 0 of 500 libraries in 87ms.

Performing hot reload... Reloaded 0 of 500 libraries in 121ms.

Performing hot reload... \flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) Reloaded 0 of 500 libraries in 131ms. flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)

flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) Performing hot reload... Reloaded 0 of 500 libraries in 434ms.

Performing hot reload... Reloaded 0 of 500 libraries in 94ms.

Performing hot reload... Reloaded 0 of 500 libraries in 94ms.

Performing hot reload... Reloaded 0 of 500 libraries in 83ms.

Performing hot reload... Reloaded 0 of 500 libraries in 99ms.

Performing hot reload... Reloaded 0 of 500 libraries in 83ms.

Performing hot reload... Reloaded 0 of 500 libraries in 99ms.

Performing hot reload... Reloaded 0 of 500 libraries in 89ms.

Performing hot reload... Reloaded 0 of 500 libraries in 82ms.

flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ Performing hot reload... /flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) Reloaded 0 of 500 libraries in 508ms.

Performing hot reload... Reloaded 0 of 500 libraries in 115ms.

Performing hot reload... Reloaded 0 of 500 libraries in 100ms.

Performing hot reload... Reloaded 0 of 500 libraries in 86ms.

Performing hot reload... Reloaded 0 of 500 libraries in 84ms.

Performing hot reload... Reloaded 0 of 500 libraries in 107ms.

Performing hot reload... Reloaded 0 of 500 libraries in 82ms.

Performing hot reload... Reloaded 0 of 500 libraries in 89ms.

Performing hot reload... Reloaded 0 of 500 libraries in 85ms.

flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) Performing hot reload... |flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) Reloaded 0 of 500 libraries in 475ms.

Performing hot reload... Reloaded 0 of 500 libraries in 82ms.

Performing hot reload... Reloaded 0 of 500 libraries in 85ms.

Performing hot reload... Reloaded 0 of 500 libraries in 91ms.

Performing hot reload... Reloaded 0 of 500 libraries in 81ms.

Performing hot reload... Reloaded 0 of 500 libraries in 99ms.

Performing hot reload... Reloaded 0 of 500 libraries in 102ms.

Performing hot reload... Reloaded 0 of 500 libraries in 87ms.

Performing hot reload... Reloaded 0 of 500 libraries in 103ms. flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #25 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #28 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #29 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #31 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #32 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #33 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #34 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #36 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #37 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #38 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #40 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #42 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #43 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #44 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #45 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #46 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #47 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #48 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #50 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #51 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #52 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #53 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #54 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #55 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #56 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #58 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #59 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #60 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #61 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #62 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #63 StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5) flutter: #64 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #65 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #66 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #67 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33) flutter: #68 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:760:20) flutter: #69 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:285:5) flutter: #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1033:15) flutter: #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:975:9) flutter: #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:784:7) flutter: #74 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) flutter: #75 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) flutter: #76 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) flutter: (elided one frame from package dart:async-patch) flutter: flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: Unknown platform. flutter: Another exception was thrown: Unknown platform. flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ flutter: The following assertion was thrown building Builder(dirty): flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to flutter: include this platform. flutter: flutter: User-created ancestor of the error-causing widget was: flutter: MaterialApp flutter: file:///C:/Users/Orion/Desktop/ssc/mqtt_client-development/example/flutter/lib/main.dart:65:12 flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 defaultTargetPlatform (package:flutter/src/foundation/_platform_io.dart:27:5) flutter: #1 defaultTargetPlatform (package:flutter/src/foundation/platform.dart:36:55) flutter: #2 new ThemeData (package:flutter/src/material/theme_data.dart:231:18) flutter: #3 new ThemeData.light (package:flutter/src/material/theme_data.dart:543:32) flutter: #4 new ThemeData.fallback (package:flutter/src/material/theme_data.dart:560:45) flutter: #5 _MaterialAppState.build. (package:flutter/src/material/app.dart:574:45) flutter: #6 _WidgetsAppState.build. (package:flutter/src/widgets/app.dart:1106:25) flutter: #7 Builder.build (package:flutter/src/widgets/basic.dart:6660:41) flutter: #8 StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28) flutter: #9 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15) flutter: #10 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #11 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #13 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #14 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #15 ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5) flutter: #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #17 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14) flutter: #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16) flutter: #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5) flutter: #21 StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5) flutter: #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15) flutter: #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)

shamblett commented 5 years ago

Your getting this line

flutter: Unknown platform. flutter: windows was not recognized as a target platform. Consider updating the list of TargetPlatforms to'

This is a flutter build error of some sort, not an mqtt_client problem, please re-post on a flutter list.

Tumbler0809 commented 5 years ago

Thank you very much, solved

Tumbler0809 commented 5 years ago

The solution is to modify the demo of MQTT, add platform support, suggest authors plus

Tumbler0809 commented 5 years ago

Please see https://github.com/flutter/flutter/wiki/Desktop-shells#flutter-application-requirements