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
ββββββββ Exception caught by widgets library βββββββββββββββββββββββββββββββββββ
The following _TypeError was thrown building _PaneItemExpander-[LabeledGlobalKey<__PaneItemExpanderState>#18916](dirty, dependencies: [_FluentTheme, _InheritedNavigationView], state:__PaneItemExpanderState#fd9cf):Null check operator used on a null value
The relevant error-causing widget was
_PaneItemExpander-[LabeledGlobalKey<__PaneItemExpanderState>#18916]
pane_items.dart:629When the exception was thrown, this was the stack
#0__PaneItemExpanderState.build
pane_items.dart:807
#1StatefulElement.build
framework.dart:5409
#2ComponentElement.performRebuild
framework.dart:5297
#3StatefulElement.performRebuild
framework.dart:5462
#4Element.rebuild
framework.dart:5016
#5ComponentElement._firstBuild
framework.dart:5279
#6StatefulElement._firstBuild
framework.dart:5453
#7ComponentElement.mount
framework.dart:5273
... Normal element mounting (47 frames)
#54Element.inflateWidget
framework.dart:4182
#55Element.updateChild
framework.dart:3707
#56SliverMultiBoxAdaptorElement.updateChild
sliver.dart:857
#57SliverMultiBoxAdaptorElement.createChild.<anonymous closure>
sliver.dart:842
Doctor summary (to see all details, run flutter doctor -v):
[β] Flutter (Channel stable, 3.13.9, onMicrosoftWindows [ηζ¬ 10.0.22635.2700], locale zh-CN)
[β] WindowsVersion (Installed version of Windowsis version 10 or higher)
[X] Android toolchain - develop forAndroid devices
XUnable to locate AndroidSDK.
InstallAndroidStudio from: https://developer.android.com/studio/index.htmlOn first launch it will assist you in installing the AndroidSDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).If the AndroidSDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[X] Chrome- develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
!Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[β] VisualStudio- develop Windows apps (VisualStudioCommunity202217.6.3)
[!] AndroidStudio (not installed)
[β] VSCode (version 1.84.1)
[β] Connected device (2 available)
[β] Network resources
!Doctor found issues in3 categories.
The text was updated successfully, but these errors were encountered:
H2Sxxa
changed the title
π The PaneItemExpander doesn't work normal
π The PaneItemExpander doesn't work normal
Nov 7, 2023
PaneItemExpander must have a not empty item list and the selected of NavigationPane must be not null.
I think there should have a more clear exception info, like assert(body.pane!.selected != null, "The selected of NavigationPane can not be null!"); in the build Function.
Describe the bug
The PaneItemExpander doesn't work normal.
To Reproduce
Expected behavior
The Expander should not crash here.
Screenshots
Additional context
Version
Flutter Docker
The text was updated successfully, but these errors were encountered: