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 _TypeError was thrown building _FormScope: type '() => Map<String, dynamic>' is not a subtype of type '(() => Map<String, Object>)?' of 'orElse'
#24
Open
abdoutech93 opened this issue
Mar 30, 2024
· 0 comments
The following _TypeError was thrown building _FormScope:
type '() => Map<String, dynamic>' is not a subtype of type '(() => Map<String, Object>)?' of
'orElse'
The following _TypeError was thrown building _FormScope:
type '() => Map<String, dynamic>' is not a subtype of type '(() => Map<String, Object>)?' of
'orElse'
When the exception was thrown, this was the stack:
#0 ListBase.firstWhere (dart:collection/list.dart:122:53)
#1 _SelectFormFieldState.didUpdateWidget (package:select_form_field/select_form_field.dart:479:29)
#2 StatefulElement.update (package:flutter/src/widgets/framework.dart:5643:55)
#3 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#4 Element.updateChildren (package:flutter/src/widgets/framework.dart:3964:32)
#5 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896:17)
#6 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#7 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#8 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#9 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#10 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#12 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#13 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#14 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#15 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#16 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#17 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#18 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#19 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#20 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#21 Element.updateChildren (package:flutter/src/widgets/framework.dart:3964:32)
#22 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896:17)
#23 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#24 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#25 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#26 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#27 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#28 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#29 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#31 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#32 StatelessElement.update (package:flutter/src/widgets/framework.dart:5547:5)
#33 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#34 Element.updateChildren (package:flutter/src/widgets/framework.dart:3964:32)
#35 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896:17)
#36 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#37 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#38 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#39 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#40 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#41 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#42 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#43 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#44 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#45 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#46 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#47 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#48 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#50 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#51 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#52 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#53 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#54 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#55 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#56 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#57 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#58 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#59 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#60 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#61 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#62 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#63 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#64 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#65 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#66 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#67 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#68 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#69 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#70 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#71 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#72 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#73 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#74 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#75 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#76 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#77 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#78 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#79 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#80 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#81 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#82 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#83 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#84 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#85 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#86 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#87 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#88 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#89 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#90 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#91 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#92 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#93 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#94 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#95 StatelessElement.update (package:flutter/src/widgets/framework.dart:5547:5)
#96 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#97 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#98 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#99 StatelessElement.update (package:flutter/src/widgets/framework.dart:5547:5)
#100 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#101 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#102 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#103 StatelessElement.update (package:flutter/src/widgets/framework.dart:5547:5)
#104 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#105 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#106 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#107 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#108 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#109 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#110 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#111 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#112 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#113 Element.updateChildren (package:flutter/src/widgets/framework.dart:3964:32)
#114 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6896:17)
#115 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#116 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#117 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#118 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#119 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#120 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#121 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#122 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#123 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#124 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#125 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#126 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#127 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#128 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#129 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#130 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#131 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#132 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#133 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#134 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#135 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#136 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#137 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#138 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#139 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#140 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#141 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#142 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#143 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#144 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#145 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6743:14)
#146 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#147 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#148 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#149 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#150 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#151 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#152 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#153 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#154 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#155 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#156 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#157 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#158 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#159 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#160 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#161 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#162 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#163 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#164 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#165 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#166 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#167 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#168 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#169 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#170 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#171 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#172 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#173 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#174 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#175 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#176 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#177 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#178 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#179 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#180 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#181 StatefulElement.update (package:flutter/src/widgets/framework.dart:5657:5)
#182 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#183 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#184 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#185 ProxyElement.update (package:flutter/src/widgets/framework.dart:5800:5)
#186 Element.updateChild (package:flutter/src/widgets/framework.dart:3815:15)
#187 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5496:16)
#188 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5634:11)
#189 Element.rebuild (package:flutter/src/widgets/framework.dart:5187:7)
#190 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2895:19)
#191 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:984:21)
#192 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457:5)
#193 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#194 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255:9)
#195 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:5)
#196 _invoke (dart:ui/hooks.dart:312:13)
#197 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383:5)
#198 _drawFrame (dart:ui/hooks.dart:283:31)
The text was updated successfully, but these errors were encountered: