Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed #50

Closed
wlabuschagne opened this issue Jan 6, 2023 · 3 comments
Closed

Help needed #50

wlabuschagne opened this issue Jan 6, 2023 · 3 comments

Comments

@wlabuschagne
Copy link

Hi there.

I am new to Android developement, and hope that you can help me.

I have used your example code and added my own url.

I get a http 400 error, and cannot understand it. When I do a curl to that url fiwth a post I do get the correct content.

Here is the debug output from studio. Help will much appreciated!

2023-01-06 13:32:38.578568 - Name=DynamicRouteState Level=LEVEL.INFO : initial: deep_link=null
2023-01-06 13:32:38.608 6921-32448 flutter com.example.sdui I 2023-01-06 13:32:38.608734 - Name=Http Level=LEVEL.ERROR : POST http://192.168.1.98:1880/screens status=400 request_header_Content-Type=application/json; charset=utf-8 request_header_Accept=application/json; charset=utf-8 response_header_connection=keep-alive response_header_x-powered-by=Express response_header_access-control-allow-origin=* response_header_date=Fri, 06 Jan 2023 11:32:38 GMT response_header_content-length=1000 response_header_content-type=text/html; charset=utf-8 response_header_x-content-type-options=nosniff response_header_content-security-policy=default-src 'none'
2023-01-06 13:32:38.608 6921-32448 flutter com.example.sdui I Error:
:400
2023-01-06 13:32:38.611 6921-32448 flutter com.example.sdui I 2023-01-06 13:32:38.611324 - Name=DynamicRouteState Level=LEVEL.ERROR : provider=StaticRouteContentProvider(url=http://192.168.1.98:1880/screens)
2023-01-06 13:32:38.611 6921-32448 flutter com.example.sdui I Error:
:400
2023-01-06 13:32:38.611 6921-32448 flutter com.example.sdui I Cause:
#0 Http.post (package:sdui/src/http.dart:92:9)

#1 _FutureBuilderState._subscribe. (package:flutter/src/widgets/async.dart:628:33)

2023-01-06 13:32:38.652 6921-6921 DecorView com.example.sdui I notifyKeepScreenOnChanged: keepScreenOn=false
2023-01-06 13:32:38.654 6921-6921 ViewRootIm...nActivity] com.example.sdui D performTraversals params={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
fl=81810100

@wlabuschagne
Copy link
Author

Here is a more extended trace.

2023-01-06 13:39:19.736 6921-6921 ViewRootIm...nActivity] com.example.sdui I ViewPostIme pointer 0
2023-01-06 13:39:19.743 6921-6921 ViewRootIm...nActivity] com.example.sdui I ViewPostIme pointer 1
2023-01-06 13:39:19.746 6921-32448 flutter com.example.sdui I 2023-01-06 13:39:19.746626 - Name=SDUIAction Level=LEVEL.INFO : Goto route route:/remote - data={}
2023-01-06 13:39:19.747 6921-32448 flutter com.example.sdui I 2023-01-06 13:39:19.747267 - Name=DynamicRouteState Level=LEVEL.INFO : didPushNext() - widget.id=page.static - peek=page.static
2023-01-06 13:39:19.769 6921-32448 flutter com.example.sdui I 2023-01-06 13:39:19.769287 - Name=DynamicRouteState Level=LEVEL.INFO : didPush() - widget.id=null - peek=page.static
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter_local_notifications/src/platform_flutter_local_notifications.dart': Failed assertion: line 1018 pos 12: 'callback != null': The backgroundHandler needs to be either a static function or a top
level function to be accessible as a Flutter entry point.
#0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2 _evaluateBackgroundNotificationCallback (package:flutter_local_notifications/src/platform_flutter_local_notifications.dart:1018:12)
#3 AndroidFlutterLocalNotificationsPlugin.initialize (package:flutter_local_notifications/src/platform_flutter_local_notifications.dart:148:5)
#4 FlutterLocalNotificationsPlugin.initialize (package:flutter_local_notifications/src/flutter_local_notifications_plugin.dart:142:13)
#5 DynamicRouteState._initializeFirebase (package:sdui/src/route.dart:191:31)
#6 DynamicRouteState.initState (package:sdui/src/route.dart:119:7)
#7 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5015:57)
#8 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#10 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#11 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#12 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#13 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#15 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#16 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#17 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#18 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#19 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#20 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#21 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#22 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#23 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#24 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#25 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#26 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#27 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#28 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#29 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#30 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#31 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#32 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#33 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#34 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#35 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#36 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#37 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#38 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#39 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#40 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E #41 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#42 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#43 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#44 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#45 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#46 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#47 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#48 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#49 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#50 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#51 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#52 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#53 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#54 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#55 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#56 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#57 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#58 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#59 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#60 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#61 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#62 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#63 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#64 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#65 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#66 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#67 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#68 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#69 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#70 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#72 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#73 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#74 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#75 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#76 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#77 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#78 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#79 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#80 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#81 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#82 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#83 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#84 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#85 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#86 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#87 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E #88 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#89 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#90 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#91 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#92 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#93 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#94 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#95 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#97 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#98 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#99 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#100 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#101 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#102 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#103 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#104 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#105 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#106 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#107 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#108 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#109 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#110 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#111 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#112 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#113 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#114 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#115 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#116 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#117 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#118 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#119 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#120 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#121 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#122 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#123 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#124 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#125 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#126 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#127 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#128 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#129 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#130 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#131 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#132 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#133 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E #134 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#135 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#136 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#137 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#138 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#139 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#140 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#141 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#142 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#143 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#144 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#145 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#146 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#147 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#148 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#149 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#150 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#151 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#152 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#153 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#154 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#155 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#156 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#157 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#158 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#159 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#160 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#161 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#162 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#163 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#164 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#165 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#166 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#167 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#168 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#169 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#170 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#171 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#172 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#173 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#174 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#175 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#176 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#177 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#178 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#179 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#180 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E #181 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#182 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#183 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#184 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#185 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#186 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#187 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#188 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#189 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#190 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#191 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#192 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#193 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#194 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#195 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#196 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#197 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#198 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#199 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#200 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#201 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#202 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#203 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#204 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#205 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#206 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#207 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#208 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#209 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#210 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#211 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#212 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#213 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#214 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#215 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#216 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#217 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#218 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#219 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#220 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#221 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#222 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#223 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#224 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#225 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#226 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#227 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E #228 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#229 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#230 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#231 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#232 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#233 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#234 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#235 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#236 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#237 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#238 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#239 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#240 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#241 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#242 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#243 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#244 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#245 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#246 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#247 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#248 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#249 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#250 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#251 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#252 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#253 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#254 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#255 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#256 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#257 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#258 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#259 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#260 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#261 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#262 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#263 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#264 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#265 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#266 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#267 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#268 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#269 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#270 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#271 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#272 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#273 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#274 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E #275 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#276 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#277 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#278 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#279 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#280 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#281 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#282 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#283 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#284 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6435:36)
#285 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#286 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5964:32)
#287 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6460:17)
#288 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#289 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#290 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#291 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#292 StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#293 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#294 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#295 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#296 ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#297 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#298 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#299 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#300 ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#301 _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#302 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#303 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#304 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#305 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#306 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#307 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#308 StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#309 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#310 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#311 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#312 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#313 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#314 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#315 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#316 ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#317 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#318 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#319 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#320 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
2023-01-06 13:39:19.776 6921-32448 flutter com.example.sdui E #321 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2667:19)
#322 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:882:21)
#323 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:378:5)
#324 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1175:15)
#325 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1104:9)
#326 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1015:5)
#327 _invoke (dart:ui/hooks.dart:148:13)
#328 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:318:5)
#329 _drawFrame (dart:ui/hooks.dart:115:31)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()
#0 MethodChannelFirebase.app (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:193:5)
#1 Firebase.app (package:firebase_core/src/firebase.dart:56:41)
#2 FirebaseMessaging.instance (package:firebase_messaging/src/messaging.dart:32:47)
#3 DynamicRouteState._initializeFirebase (package:sdui/src/route.dart:200:61)
#4 DynamicRouteState.initState (package:sdui/src/route.dart:119:7)
#5 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5015:57)
#6 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#7 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#8 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#9 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#11 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#12 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#13 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#14 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#15 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#16 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#17 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#18 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#20 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#21 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#23 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#25 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#26 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#27 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#28 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#29 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#30 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#31 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#32 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#33 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#34 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#36 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#37 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#38 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#39 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#40 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#41 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#42 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#43 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E #44 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#45 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#46 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#47 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#48 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#49 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#50 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#51 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#52 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#53 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#54 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#55 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#56 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#57 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#58 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#59 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#60 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#61 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#62 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#63 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#64 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#65 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#66 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#67 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#68 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#69 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#70 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#71 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#72 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#73 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#74 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#75 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#76 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#77 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#78 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#79 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#80 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#81 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#82 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#84 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#85 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#86 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#87 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#88 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#89 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#90 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E #91 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#92 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#93 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#94 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#95 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#96 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#97 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#98 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#99 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#100 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#101 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#102 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#103 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#104 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#105 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#106 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#107 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#108 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#109 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#110 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#111 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#112 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#113 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#114 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#115 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#116 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#117 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#118 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#119 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#120 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#121 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#122 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#123 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#124 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#125 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#126 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#127 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#128 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#129 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#130 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#131 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#132 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#133 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#134 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#135 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#136 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E #137 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#138 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#139 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#140 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#141 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#142 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#143 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#144 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#145 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#146 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#147 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#148 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#149 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#150 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#151 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#152 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#153 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#154 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#155 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#156 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#157 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#158 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#159 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#160 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#161 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#162 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#163 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#164 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#165 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#166 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#167 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#168 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#169 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#170 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#171 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#172 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#173 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#174 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#175 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#176 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#177 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#178 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#179 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#180 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#181 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#182 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#183 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E #184 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#185 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#186 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#187 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#188 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#189 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#190 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#191 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#192 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#193 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#194 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#195 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#196 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#197 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#198 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#199 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#200 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#201 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#202 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#203 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#204 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#205 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#206 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#207 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#208 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#209 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#210 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#211 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#212 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#213 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#214 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#215 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#216 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#217 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#218 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#219 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#220 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#221 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#222 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#223 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#224 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#225 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#226 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#227 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#228 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#229 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#230 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E #231 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#232 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#233 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#234 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#235 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#236 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#237 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#238 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#239 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#240 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#241 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#242 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#243 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#244 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#245 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#246 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#247 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#248 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#249 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#250 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#251 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#252 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#253 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#254 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#255 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#256 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#257 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#258 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6300:14)
#259 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#260 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#261 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#262 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#263 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#264 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#265 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#266 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#267 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#268 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#269 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#270 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#271 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#272 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#273 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#274 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#275 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#276 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#277 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E #278 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4859:5)
#279 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5041:11)
#280 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#281 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#282 MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6435:36)
#283 Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#284 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5964:32)
#285 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6460:17)
#286 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#287 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#288 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#289 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#290 StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#291 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#292 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#293 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#294 ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#295 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#296 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#297 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#298 ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#299 _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#300 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#301 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#302 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#303 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#304 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#305 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#306 StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#307 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#308 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#309 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#310 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#311 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#312 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#313 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#314 ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#315 Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#316 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#317 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#318 Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#319 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2667:19)
#320 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:882:21)
#321 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:378:5)
#322 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1175:15)
#323 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1104:9)
2023-01-06 13:39:19.781 6921-32448 flutter com.example.sdui E #324 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1015:5)
#325 _invoke (dart:ui/hooks.dart:148:13)
#326 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:318:5)
#327 _drawFrame (dart:ui/hooks.dart:115:31)
2023-01-06 13:39:19.782 6921-32448 flutter com.example.sdui I 2023-01-06 13:39:19.782041 - Name=DynamicRouteState Level=LEVEL.INFO : initial: deep_link=null
2023-01-06 13:39:19.860 6921-32448 flutter com.example.sdui I 2023-01-06 13:39:19.860692 - Name=Http Level=LEVEL.ERROR : POST http://192.168.1.98:1880/screens status=400 request_header_Content-Type=application/json; charset=utf-8 request_header_Accept=application/json; charset=utf-8 response_header_connection=keep-alive response_header_x-powered-by=Express response_header_access-control-allow-origin=* response_header_date=Fri, 06 Jan 2023 11:39:19 GMT response_header_content-length=1000 response_header_content-type=text/html; charset=utf-8 response_header_x-content-type-options=nosniff response_header_content-security-policy=default-src 'none'
2023-01-06 13:39:19.860 6921-32448 flutter com.example.sdui I Error:
:400
2023-01-06 13:39:19.996 6921-32448 flutter com.example.sdui I 2023-01-06 13:39:19.996430 - Name=DynamicRouteState Level=LEVEL.ERROR : provider=StaticRouteContentProvider(url=http://192.168.1.98:1880/screens)
2023-01-06 13:39:19.997 6921-32448 flutter com.example.sdui I Error:
:400
2023-01-06 13:39:19.997 6921-32448 flutter com.example.sdui I Cause:
#0 Http.post (package:sdui/src/http.dart:92:9)

#1 _FutureBuilderState._subscribe. (package:flutter/src/widgets/async.dart:628:33)

2023-01-06 13:39:20.020 6921-6921 DecorView com.example.sdui I notifyKeepScreenOnChanged: keepScreenOn=false
2023-01-06 13:39:20.021 6921-6921 ViewRootIm...nActivity] com.example.sdui D performTraversals params={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
fl=81810100
pfl=16020040
vsysui=2500
apr=LIGHT_STATUS_BARS
bhv=DEFAULT
fitSides= naviIconColor=0}
2023-01-06 13:39:20.022 6921-6921 ViewRootIm...nActivity] com.example.sdui D performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
fl=81810100
pfl=16020040
vsysui=2500
apr=LIGHT_STATUS_BARS
bhv=DEFAULT
fitSides= naviIconColor=0}
2023-01-06 13:39:20.023 2258-3425 WindowManager pid-2258 V Relayout Window{cc99c42 u0 com.example.sdui/com.example.sdui.MainActivity}: viewVisibility=0 req=1080x2340 d0
2023-01-06 13:39:20.024 2258-3425 WindowManager pid-2258 D updateSystemBarAttributes: displayId=0, win=Window{cc99c42 u0 com.example.sdui/com.example.sdui.MainActivity}, navColorWin=Window{cc99c42 u0 com.example.sdui/com.example.sdui.MainActivity}, focusedCanBeNavColorWin=false, behavior=1, appearance=8, statusBarAppearanceRegions=[AppearanceRegion{LIGHT_STATUS_BARS bounds=[0,0][1080,2340]}], requestedVisibilities=, from=com.android.server.wm.DisplayPolicy.finishPostLayoutPolicyLw:2523 com.android.server.wm.DisplayContent.applySurfaceChangesTransaction:5632 com.android.server.wm.RootWindowContainer.applySurfaceChangesTransaction:1220
2023-01-06 13:39:20.024 3049-3049 SamsungLig...trolHelper pid-3049 D onStatusBarAppearanceChanged() - sbModeChanged:false, statusBarMode:MODE_TRANSPARENT, barState:SHADE, isKeyguardShowing:false, navbarColorManagedByIme:false, stackAppearancesChanged:true, (AppearanceRegion{LIGHT_STATUS_BARS bounds=[0,0][1080,2340]}, ), packageName:com.example.sdui
2023-01-06 13:39:20.024 3049-3049 NavigationBar pid-3049 D onSystemBarAttributesChanged() - displayId:0, appearance:8, packageName: com.example.sdui (APPEARANCE_LIGHT_STATUS_BARS ), navbarColorManagedByIme:false
2023-01-06 13:39:20.026 6921-6921 BLASTBufferQueue com.example.sdui D update, w= 1080 h= 2340 mNativeObject= 0xb400007c4b3d8770 sc.mNativeObject= 0xb400007bdb3ef940 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2778 android.view.ViewRootImpl.relayoutWindow:9635 android.view.ViewRootImpl.performTraversals:3759 android.view.ViewRootImpl.doTraversal:2991 android.view.ViewRootImpl$TraversalRunnable.run:10665 android.view.Choreographer$CallbackRecord.run:1301
2023-01-06 13:39:20.026 6921-6921 ViewRootIm...nActivity] com.example.sdui I Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=4 res=0x0 s={true 0xb400007cdb3a1090} ch=false seqId=0
2023-01-06 13:39:20.027 6921-6921 ViewRootIm...nActivity] com.example.sdui I updateBoundsLayer: t = android.view.SurfaceControl$Transaction@ab09ca8 sc = Surface(name=Bounds for - com.example.sdui/com.example.sdui.MainActivity@7)/@0xe393172 frame = 5
2023-01-06 13:39:20.027 6921-6921 ViewRootIm...nActivity] com.example.sdui I mWNT: t=0xb400007c0b3eb410 mBlastBufferQueue=0xb400007c4b3d8770 fn= 5 caller= android.view.ViewRootImpl.prepareSurfaces:2865 android.view.ViewRootImpl.performTraversals:4108 android.view.ViewRootImpl.doTraversal:2991
2023-01-06 13:39:20.027 6921-6921 BLASTBufferQueue com.example.sdui D mergeWithNextTransaction, mNativeObject= 0xb400007c4b3d8770 t.mNativeObject= 0xb400007c0b3eb410 frameNumber= 5 caller= android.view.ViewRootImpl.mergeWithNextTransaction:12594 android.view.ViewRootImpl.prepareSurfaces:2865 android.view.ViewRootImpl.performTraversals:4108 android.view.ViewRootImpl.doTraversal:2991 android.view.ViewRootImpl$TraversalRunnable.run:10665 android.view.Choreographer$CallbackRecord.run:1301
2023-01-06 13:39:20.027 3049-3049 SamsungLig...trolHelper pid-3049 D updateStatus(BLACK icon) NumStacks:1, StatusBarMode:MODE_TRANSPARENT, lightBarBounds:[Rect(0, 0 - 1080, 2340)], StatusBarState:SHADE, packageName:com.example.sdui, NeedDarkFontFromWallpaper:true, isWhiteKeyguardStatusBarBySettings:true
2023-01-06 13:39:20.537 1518-1518 LayerHistory pid-1518 I SurfaceView[com.example.sdui/com.example.sdui.MainActivity]@0(BLAST)#25234 Max (can't resolve refresh rate)

@wlabuschagne
Copy link
Author

import 'package:flutter/material.dart';
import 'package:sdui/sdui.dart';

void main() async {
runApp(const MyApp());
}

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

@OverRide
Widget build(BuildContext context) {
return MaterialApp(title: 'Demo', initialRoute: '/', routes: _routes());
}

Map<String, WidgetBuilder> _routes() =>
{
'/': (context) =>
const DynamicRoute(
provider: HttpRouteContentProvider(
'http://192.168.1.98:1880/screens'))
};
}

@wlabuschagne
Copy link
Author

Sorted, I was using NodeRed to input the json. The put method expected some body, your code is sending null.

Can you plase just send a {}

Regards
Willem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant