-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Open
Labels
in triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
Description
Steps to reproduce
i cant reproduce it its coming in 2 latest flutter version
Expected results
works without exception
Actual results
BindingBase.checkInstance
FlutterError - LateInitializationError: Field '_modalScope@325188637' has not been initialized.. Error thrown .
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Logs
Logs
Fatal Exception: FlutterError
0 ??? 0x0 BindingBase.checkInstance (binding.dart)
1 ??? 0x0 SchedulerBinding.instance + 268 (binding.dart:268)
2 ??? 0x0 ModalRoute.changedInternalState + 2164 (routes.dart:2164)
3 ??? 0x0 ModalRoute.didPopNext + 2156 (routes.dart:2156)
4 ??? 0x0 NavigatorState._flushHistoryUpdates + 4490 (navigator.dart:4490)
5 ??? 0x0 NavigatorState._updatePages + 4382 (navigator.dart:4382)
6 ??? 0x0 NavigatorState.didUpdateWidget + 4016 (navigator.dart:4016)
7 ??? 0x0 StatefulElement.update + 5883 (framework.dart:5883)
8 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
9 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
10 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
11 ??? 0x0 ProxyElement.update + 6041 (framework.dart:6041)
12 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
13 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
14 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
15 ??? 0x0 ProxyElement.update + 6041 (framework.dart:6041)
16 ??? 0x0 _InheritedNotifierElement.update + 108 (inherited_notifier.dart:108)
17 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
18 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
19 ??? 0x0 StatefulElement.performRebuild + 5874 (framework.dart:5874)
20 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
21 ??? 0x0 StatefulElement.update + 5899 (framework.dart:5899)
22 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
23 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
24 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
25 ??? 0x0 ProxyElement.update + 6041 (framework.dart:6041)
26 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
27 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
28 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
29 ??? 0x0 StatelessElement.update + 5787 (framework.dart:5787)
30 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
31 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
32 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
33 ??? 0x0 ProxyElement.update + 6041 (framework.dart:6041)
34 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
35 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
36 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
37 ??? 0x0 ProxyElement.update + 6041 (framework.dart:6041)
38 ??? 0x0 Element.updateChild + 3982 (framework.dart:3982)
39 ??? 0x0 ComponentElement.performRebuild + 5738 (framework.dart:5738)
40 ??? 0x0 StatefulElement.performRebuild + 5874 (framework.dart:5874)
41 ??? 0x0 Element.rebuild + 5427 (framework.dart:5427)
42 ??? 0x0 BuildScope._tryRebuild + 2694 (framework.dart:2694)
43 ??? 0x0 BuildScope._flushDirtyElements + 2752 (framework.dart:2752)
44 ??? 0x0 BuildOwner.buildScope + 3056 (framework.dart:3056)
45 ??? 0x0 WidgetsBinding.drawFrame + 1240 (binding.dart:1240)
46 ??? 0x0 RendererBinding._handlePersistentFrameCallback + 495 (binding.dart:495)
47 ??? 0x0 SchedulerBinding._invokeFrameCallback + 1438 (binding.dart:1438)
48 ??? 0x0 SchedulerBinding.handleDrawFrame + 1351 (binding.dart:1351)
49 ??? 0x0 SchedulerBinding._handleDrawFrame + 1204 (binding.dart:1204)
Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.35.1, on Microsoft Windows [Version 10.0.26100.4946], locale en-US)
! Warning: `flutter` on your path resolves to C:\Users\Ab-Aziz\fvm\versions\3.35.1\bin\flutter, which is not inside your current Flutter SDK checkout at
C:\Users\Ab-Aziz\fvm\default. Consider adding C:\Users\Ab-Aziz\fvm\default\bin to the front of your path.
! Warning: `dart` on your path resolves to C:\Users\Ab-Aziz\fvm\versions\3.35.1\bin\dart, which is not inside your current Flutter SDK checkout at
C:\Users\Ab-Aziz\fvm\default. Consider adding C:\Users\Ab-Aziz\fvm\default\bin to the front of your path.
[√] Windows Version (11 Pro 64-bit, 24H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0-rc1)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2024.3)
[√] VS Code (version 1.99.3)
[√] Connected device (4 available)
[√] Network resources
Metadata
Metadata
Assignees
Labels
in triagePresently being triaged by the triage teamPresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds