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
{{ message }}
Repository navigation
_ExpansibleState.initState + 383 type 'double' is not a subtype of type 'bool?' in type cast #192184
We use ExpansionTile and we have this bug since Flutter 3.44.7.
It seems that expansible.dart ligne 383 add an error.
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: type 'double' is not a subtype of type 'bool?' in type cast. Error thrown .
#00 pc 0x65d043 fr.maif.digital.maifetmoi (_ExpansibleState.initState [expansible.dart:383]) (BuildId: b71885094c707c761ab80642da279e35) #1 pc 0x7761fb fr.maif.digital.maifetmoi (StatefulElement._firstBuild [framework.dart:5950]) (BuildId: b71885094c707c761ab80642da279e35)
@FabriceLeger Thanks for the report and for providing the crash stack trace. Could you please provide the following additional details to help us confirm the issue?
The exact Flutter version and flutter doctor -v where this crash occurs, and whether it is still reproducible on the latest stable Flutter release.
A minimal reproducible code sample showing how the ExpansionTile is being used.
Any steps or sequence of actions that cause a non-bool value to be stored in PageStorage, if known.
Any relevant logs from when the crash occurs.
If possible, a screenshot or screen recording demonstrating the steps leading to the crash.
The stack trace points to ExpansibleState.initState, so these details would help us confirm the reported scenario against the existing fix in #192195.
@FabriceLeger Thanks for the report. I noticed that the issue was reproduced on Flutter 3.44.9. Could you please verify whether the crash still occurs on the latest Flutter stable release and confirm the result?
It would also be helpful if you could provide a minimal reproducible example that I can run locally to reproduce and investigate the issue further.
We update to the latest Flutter version in our last release.
I notice you if the problem is always present.
I try to make a small project to reproduce the bug.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
We update to the latest Flutter version in our last release. I notice you if the problem is always present. I try to make a small project to reproduce the bug.
@FabriceLeger Thanks for the update. When you have a chance, could you please share the minimal project or code sample you mentioned for reproducing the issue? This would help us reproduce and investigate the crash locally.
Doctor summary (to see all details, run flutter doctor -v):[✓] Flutter (Channel stable, 3.47.2, on macOS 26.7.1 25G241 darwin-arm64, locale en-US)[!] Android toolchain - develop for Android devices (Android SDK version 36.0.0) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses[!] Xcode - develop for iOS and macOS (Xcode 27.0) ! CocoaPods not installed. CocoaPods is a package manager for iOS or macOS platform code. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/to/platform-plugins For installation instructions, see https://guides.cocoapods.org/using/getting-started.html#installation[✓] Chrome - develop for the web[✓] Connected device (2 available)[✓] Network resources! Doctor found issues in 2 categories.
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.
Activity
suryaKommana2662 commentedon Sep 3, 2026
@FabriceLeger Thanks for the report and for providing the crash stack trace. Could you please provide the following additional details to help us confirm the issue?
The exact Flutter version and
flutter doctor -vwhere this crash occurs, and whether it is still reproducible on the latest stable Flutter release.A minimal reproducible code sample showing how the ExpansionTile is being used.
Any steps or sequence of actions that cause a non-bool value to be stored in PageStorage, if known.
Any relevant logs from when the crash occurs.
If possible, a screenshot or screen recording demonstrating the steps leading to the crash.
The stack trace points to ExpansibleState.initState, so these details would help us confirm the reported scenario against the existing fix in #192195.
FabriceLeger commentedon Sep 3, 2026
@omar-alshyokh has linked a PR that resolve the bug I think.
It's the same Bug I have.
Flutter version : 3.44.9.
We use the expansionTile in a list and that lis tis in a scrollview.
Here is the stackTrace in Crashlytics:
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: type 'double' is not a subtype of type 'bool?' in type cast. Error thrown .
#00 pc 0x65d043 fr.maif.digital.maifetmoi (_ExpansibleState.initState [expansible.dart:383]) (BuildId: b71885094c707c761ab80642da279e35)
#1 pc 0x7761fb fr.maif.digital.maifetmoi (StatefulElement._firstBuild [framework.dart:5950]) (BuildId: b71885094c707c761ab80642da279e35)
#2 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#3 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#4 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#5 pc 0x47b3ab fr.maif.digital.maifetmoi (StatefulElement.performRebuild [framework.dart:5982]) (BuildId: b71885094c707c761ab80642da279e35)
#6 pc 0x77624f fr.maif.digital.maifetmoi (StatefulElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#7 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#8 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#9 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#10 pc 0x47b3ab fr.maif.digital.maifetmoi (StatefulElement.performRebuild [framework.dart:5982]) (BuildId: b71885094c707c761ab80642da279e35)
#11 pc 0x77624f fr.maif.digital.maifetmoi (StatefulElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#12 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#13 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#14 pc 0x48430b fr.maif.digital.maifetmoi (MultiChildRenderObjectElement.mount [framework.dart:7264]) (BuildId: b71885094c707c761ab80642da279e35)
#15 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#16 pc 0x48430b fr.maif.digital.maifetmoi (MultiChildRenderObjectElement.mount [framework.dart:7264]) (BuildId: b71885094c707c761ab80642da279e35)
#17 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#18 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#19 pc 0x77619b fr.maif.digital.maifetmoi (ComponentElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#20 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#21 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#22 pc 0x48430b fr.maif.digital.maifetmoi (MultiChildRenderObjectElement.mount [framework.dart:7264]) (BuildId: b71885094c707c761ab80642da279e35)
#23 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#24 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#25 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#26 pc 0x48430b fr.maif.digital.maifetmoi (MultiChildRenderObjectElement.mount [framework.dart:7264]) (BuildId: b71885094c707c761ab80642da279e35)
#27 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#28 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#29 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#30 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#31 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#32 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#33 pc 0x77619b fr.maif.digital.maifetmoi (ComponentElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#34 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#35 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#36 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#37 pc 0x47b3ab fr.maif.digital.maifetmoi (StatefulElement.performRebuild [framework.dart:5982]) (BuildId: b71885094c707c761ab80642da279e35)
#38 pc 0x77624f fr.maif.digital.maifetmoi (StatefulElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#39 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#40 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#41 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#42 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#43 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#44 pc 0x77619b fr.maif.digital.maifetmoi (ComponentElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#45 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#46 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#47 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#48 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#49 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#50 pc 0x77619b fr.maif.digital.maifetmoi (ComponentElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#51 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#52 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#53 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#54 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#55 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#56 pc 0x47b3ab fr.maif.digital.maifetmoi (StatefulElement.performRebuild [framework.dart:5982]) (BuildId: b71885094c707c761ab80642da279e35)
#57 pc 0x77624f fr.maif.digital.maifetmoi (StatefulElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#58 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#59 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#60 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#61 pc 0x47b3ab fr.maif.digital.maifetmoi (StatefulElement.performRebuild [framework.dart:5982]) (BuildId: b71885094c707c761ab80642da279e35)
#62 pc 0x77624f fr.maif.digital.maifetmoi (StatefulElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#63 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#64 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#65 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#66 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#67 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#68 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#69 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#70 pc 0x77619b fr.maif.digital.maifetmoi (ComponentElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#71 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#72 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#73 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#74 pc 0x77619b fr.maif.digital.maifetmoi (ComponentElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#75 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#76 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#77 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#78 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#79 pc 0x48402f fr.maif.digital.maifetmoi (SingleChildRenderObjectElement.mount [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#80 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#81 pc 0x48430b fr.maif.digital.maifetmoi (MultiChildRenderObjectElement.mount [framework.dart:7264]) (BuildId: b71885094c707c761ab80642da279e35)
#82 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#83 pc 0x975843 fr.maif.digital.maifetmoi (ComponentElement.performRebuild [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#84 pc 0x77619b fr.maif.digital.maifetmoi (ComponentElement._firstBuild [framework.dart:5529]) (BuildId: b71885094c707c761ab80642da279e35)
#85 pc 0x483e0f fr.maif.digital.maifetmoi (ComponentElement.mount [framework.dart:5793]) (BuildId: b71885094c707c761ab80642da279e35)
#86 pc 0x9b6e27 fr.maif.digital.maifetmoi (Element.inflateWidget [framework.dart:4587]) (BuildId: b71885094c707c761ab80642da279e35)
#87 pc 0x9713eb fr.maif.digital.maifetmoi (_LayoutBuilderElement._rebuildWithConstraints.updateChildCallback [framework.dart:4059]) (BuildId: b71885094c707c761ab80642da279e35)
#88 pc 0x95a553 fr.maif.digital.maifetmoi (BuildOwner.buildScope [framework.dart:3101]) (BuildId: b71885094c707c761ab80642da279e35)
#89 pc 0x431a67 fr.maif.digital.maifetmoi (_LayoutBuilderElement._rebuildWithConstraints [layout_builder.dart:270]) (BuildId: b71885094c707c761ab80642da279e35)
#90 pc 0x433853 fr.maif.digital.maifetmoi (RenderAbstractLayoutBuilderMixin.layoutCallback [layout_builder.dart:225]) (BuildId: b71885094c707c761ab80642da279e35)
#91 pc 0x4337b7 fr.maif.digital.maifetmoi (RenderObjectWithLayoutCallbackMixin.runLayoutCallback. [object.dart:4302]) (BuildId: b71885094c707c761ab80642da279e35)
#92 pc 0x4317af fr.maif.digital.maifetmoi (RenderObject.invokeLayoutCallback. [object.dart:3026]) (BuildId: b71885094c707c761ab80642da279e35)
#93 pc 0x97100b fr.maif.digital.maifetmoi (PipelineOwner._enableMutationsToDirtySubtrees [object.dart:1223]) (BuildId: b71885094c707c761ab80642da279e35)
#94 pc 0x970f8b fr.maif.digital.maifetmoi (RenderObject.invokeLayoutCallback [object.dart:3025]) (BuildId: b71885094c707c761ab80642da279e35)
#95 pc 0x433763 fr.maif.digital.maifetmoi (RenderObjectWithLayoutCallbackMixin.runLayoutCallback [object.dart:4302]) (BuildId: b71885094c707c761ab80642da279e35)
#96 pc 0x4335f3 fr.maif.digital.maifetmoi (_RenderLayoutBuilder.performLayout [layout_builder.dart:447]) (BuildId: b71885094c707c761ab80642da279e35)
#97 pc 0x9ce7c7 fr.maif.digital.maifetmoi (RenderObject.layout [object.dart:2907]) (BuildId: b71885094c707c761ab80642da279e35)
#98 pc 0x435e0b fr.maif.digital.maifetmoi (RenderPadding.performLayout [shifted_box.dart:262]) (BuildId: b71885094c707c761ab80642da279e35)
#99 pc 0x9ce7c7 fr.maif.digital.maifetmoi (RenderObject.layout [object.dart:2907]) (BuildId: b71885094c707c761ab80642da279e35)
suryaKommana2662 commentedon Sep 3, 2026
@FabriceLeger Thanks for the report. I noticed that the issue was reproduced on Flutter 3.44.9. Could you please verify whether the crash still occurs on the latest Flutter stable release and confirm the result?
It would also be helpful if you could provide a minimal reproducible example that I can run locally to reproduce and investigate the issue further.
FabriceLeger commentedon Sep 3, 2026
We update to the latest Flutter version in our last release.
I notice you if the problem is always present.
I try to make a small project to reproduce the bug.
5 remaining items
github-actions commentedon Oct 6, 2026
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
Thanks for your contribution.
suryaKommana2662 commentedon Oct 7, 2026
@FabriceLeger Thanks for the update. When you have a chance, could you please share the minimal project or code sample you mentioned for reproducing the issue? This would help us reproduce and investigate the crash locally.
areille0 commentedon Oct 9, 2026
@suryaKommana2662
Here is a minimal reproductible example. Steps to reproduce are :
Code sample
Logs
Doctor output
Fix Expansible crash when PageStorage holds a non-bool value (flutter…
github-actions commentedon Oct 27, 2026
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 -vand a minimal reproduction of the issue.Fix Expansible crash when PageStorage holds a non-bool value (flutter…