Today when I start the flutter 2.0.x app, shows error:
======== Exception caught by Flutter framework =====================================================
The following _CastError was thrown during a service extension callback for "ext.flutter.inspector.getRootWidgetSummaryTree":
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0 WidgetInspectorService._registerObjectGroupServiceExtension.<anonymous closure> (package:flutter/src/widgets/widget_inspector.dart:793:84)
#1 WidgetInspectorService._registerObjectGroupServiceExtension.<anonymous closure> (package:flutter/src/widgets/widget_inspector.dart:792:17)
#2 BindingBase.registerServiceExtension.<anonymous closure> (package:flutter/src/foundation/binding.dart:597:32)
<asynchronous suspension>
====================================================================================================
seems flutter framework error. why did this happen? any clue about this? is it possible to fix it or avoid this eror?
I faced the same problem (flutter 2.2.0). Looks like framework issue. Then I downgraded to Flutter 2.0.3 . Now it is working fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With