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
The following GlobalKey was specified multiple times in the widget tree. This will lead to parts of the widget tree being truncated unexpectedly, because the second time a key is seen, the previous instance is moved to the new location. The key was:
[LabeledGlobalKey#59426]
This was determined by noticing that after the widget with the above global key was moved out of its previous parent, that previous parent never updated during this frame, meaning that it either did not update at all or updated before the widget was moved, in either case implying that it still thinks that it should have a child with that global key.
The specific parent that did not update after having one or more children forcibly removed due to GlobalKey reparenting is:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.9, on Microsoft Windows [版本 10.0.19045.2846], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2022 17.5.3)
[√] Android Studio (version 2022.1)
[√] Connected device (3 available)
[√] HTTP Host Availability
The text was updated successfully, but these errors were encountered:
Describe the bug
提示错误
Duplicate GlobalKey detected in widget tree.
The following GlobalKey was specified multiple times in the widget tree. This will lead to parts of the widget tree being truncated unexpectedly, because the second time a key is seen, the previous instance is moved to the new location. The key was:
This was determined by noticing that after the widget with the above global key was moved out of its previous parent, that previous parent never updated during this frame, meaning that it either did not update at all or updated before the widget was moved, in either case implying that it still thinks that it should have a child with that global key.
The specific parent that did not update after having one or more children forcibly removed due to GlobalKey reparenting is:
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack:
#0 BuildOwner.finalizeTree. (package:flutter/src/widgets/framework.dart:3083:15)
Exception when selecting text inside a FormField #1 BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:3108:8)
Colors not changes Android 9 #2 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:866:19)
added null checking to loadingContainerState in dismiss method to prevent loading not getting remove #3 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
需要一个简单的toast方法 #4 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
EasyLoading.show 增加个超时时间 #5 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
希望能在loading的时候控制点击事件是否往下传递 #6 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1076:5)
如果在刚进入一个页面的时候就显示easyloading.show,我该在哪里调用呢 #7 _invoke (dart:ui/hooks.dart:145:13)
'_overlay != null' error #8 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:338:5)
Need option to set line width #9 _drawFrame (dart:ui/hooks.dart:112:31)
Flutter/Dart info
please run
flutter doctor
then put it here.Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.9, on Microsoft Windows [版本 10.0.19045.2846], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2022 17.5.3)
[√] Android Studio (version 2022.1)
[√] Connected device (3 available)
[√] HTTP Host Availability
The text was updated successfully, but these errors were encountered: