You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
ERROR OCCURED
I/flutter ( 3764): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 3764): The following assertion was thrown building Hero(tag: qrcode, dirty, state: _HeroState#86999):
I/flutter ( 3764): A Hero widget cannot be the descendant of another Hero widget.
I/flutter ( 3764): 'package:flutter/src/widgets/heroes.dart':
I/flutter ( 3764): Failed assertion: line 375 pos 7: 'context.findAncestorWidgetOfExactType() == null'
I/flutter ( 3764):
I/flutter ( 3764): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 3764): more information in this error message to help you determine and fix the underlying cause.
I/flutter ( 3764): In either case, please report this assertion by filing a bug on GitHub:
I/flutter ( 3764): https://github.com/flutter/flutter/issues/new?template=BUG.md
I/flutter ( 3764):
I/flutter ( 3764): The relevant error-causing widget was:
I/flutter ( 3764): Hero file:///F:/apps/flutter/AnimationApps/Ticket_Animation/lib/common/ticket_card.dart:77:23
I/flutter ( 3764):
I/flutter ( 3764): When the exception was thrown, this was the stack:
I/flutter ( 3764): #2 _HeroState.build (package:flutter/src/widgets/heroes.dart:375:7)
I/flutter ( 3764): #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:4619:28)
I/flutter ( 3764): #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4502:15)
I/flutter ( 3764): #5 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
I/flutter ( 3764): #6 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
I/flutter ( 3764): #7 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
I/flutter ( 3764): #8 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
I/flutter ( 3764): #9 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
I/flutter ( 3764): #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter ( 3764): #11 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
I/flutter ( 3764): ... Normal element mounting (211 frames)
I/flutter ( 3764): #222 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter ( 3764): #223 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
I/flutter ( 3764): #224 SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:1162:36)
I/flutter ( 3764): #225 SliverMultiBoxAdaptorElement.createChild. (package:flutter/src/widgets/sliver.dart:1147:20)
I/flutter ( 3764): #226 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2607:19)
I/flutter ( 3764): #227 SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:1140:11)
I/flutter ( 3764): #228 RenderSliverMultiBoxAdaptor._createOrObtainChild. (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:354:23)
I/flutter ( 3764): #229 RenderObject.invokeLayoutCallback. (package:flutter/src/rendering/object.dart:1866:58)
I/flutter ( 3764): #230 PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:918:15)
I/flutter ( 3764): #231 RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:1866:13)
I/flutter ( 3764): #232 RenderSliverMultiBoxAdaptor._createOrObtainChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:343:5)
I/flutter ( 3764): #233 RenderSliverMultiBoxAdaptor.addInitialChild (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:427:5)
I/flutter ( 3764): #234 RenderSliverList.performLayout (package:flutter/src/rendering/sliver_list.dart:79:12)
I/flutter ( 3764): #235 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #236 RenderSliverEdgeInsetsPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:135:11)
I/flutter ( 3764): #237 RenderSliverPadding.performLayout (package:flutter/src/rendering/sliver_padding.dart:375:11)
I/flutter ( 3764): #238 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #239 RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:452:13)
I/flutter ( 3764): #240 RenderShrinkWrappingViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1783:12)
I/flutter ( 3764): #241 RenderShrinkWrappingViewport.performLayout (package:flutter/src/rendering/viewport.dart:1741:20)
I/flutter ( 3764): #242 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #243 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #244 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #245 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #246 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #247 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #248 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #249 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #250 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #251 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #252 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #253 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #254 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #255 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #256 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #257 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #258 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #259 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #260 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #261 RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:746:15)
I/flutter ( 3764): #262 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #263 _RenderSingleChildViewport.performLayout (package:flutter/src/widgets/single_child_scroll_view.dart:512:13)
I/flutter ( 3764): #264 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #265 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #266 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #267 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #268 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #269 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #270 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #271 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #272 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #273 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #274 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #275 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #276 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #277 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #278 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #279 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #280 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #281 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #282 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #283 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:11)
I/flutter ( 3764): #284 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:484:7)
I/flutter ( 3764): #285 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
I/flutter ( 3764): #286 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:399:14)
I/flutter ( 3764): #287 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #288 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #289 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #290 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #291 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1248:11)
I/flutter ( 3764): #292 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #293 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #294 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #295 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #296 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #297 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #298 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #299 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #300 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #301 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #302 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #303 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #304 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #305 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #306 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #307 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #308 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3225:13)
I/flutter ( 3764): #309 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #310 _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:700:15)
I/flutter ( 3764): #311 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #312 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #313 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #314 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #315 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #316 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #317 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #318 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #319 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #320 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
I/flutter ( 3764): #321 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
I/flutter ( 3764): #322 RenderView.performLayout (package:flutter/src/rendering/view.dart:167:13)
I/flutter ( 3764): #323 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1630:7)
I/flutter ( 3764): #324 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:887:18)
I/flutter ( 3764): #325 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:402:19)
I/flutter ( 3764): #326 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:884:13)
I/flutter ( 3764): #327 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:284:5)
I/flutter ( 3764): #328 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1113:15)
I/flutter ( 3764): #329 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1052:9)
I/flutter ( 3764): #330 SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:861:7)
I/flutter ( 3764): (elided 13 frames from class _AssertionError, class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
I/flutter ( 3764):
I/flutter ( 3764): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 3764): Another exception was thrown: A RenderFlex overflowed by 99671 pixels on the right.
D/InputMethodManager( 3764): prepareNavigationBarInfo() DecorView@b25b6ab[MainActivity]
D/InputMethodManager( 3764): getNavigationBarColor() -855310
V/InputMethodManager( 3764): Starting input: tba=com.example.Ticket_Animation ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
D/InputMethodManager( 3764): startInputInner - Id : 0
I/InputMethodManager( 3764): startInputInner - mService.startInputOrWindowGainedFocus
D/InputTransport( 3764): Input channel destroyed: 'ClientS', fd=97
D/ViewRootImpl@b871287MainActivity: stopped(true) old=false
D/SurfaceView( 3764): windowStopped(true) false io.flutter.embedding.android.FlutterSurfaceView{d002d9 V.E...... ........ 0,0-720,1454} of ViewRootImpl@b871287[MainActivity]
D/SurfaceView( 3764): surfaceDestroyed callback.size 1 #1 io.flutter.embedding.android.FlutterSurfaceView{d002d9 V.E...... ........ 0,0-720,1454}
D/SurfaceView( 3764): remove() io.flutter.embedding.android.FlutterSurfaceView{d002d9 V.E...... ........ 0,0-720,1454} Surface(name=SurfaceView - com.example.Ticket_Animation/com.example.Ticket_Animation.MainActivity@d002d9@5)/@0x152c702
D/ViewRootImpl@b871287MainActivity: MSG_WINDOW_FOCUS_CHANGED 0 1
D/InputMethodManager( 3764): prepareNavigationBarInfo() DecorView@b25b6ab[MainActivity]
D/InputMethodManager( 3764): getNavigationBarColor() -855310
E/ViewRootImpl@b871287MainActivity: Surface is not valid.
flutter doctor output
The text was updated successfully, but these errors were encountered: