@@ -143,8 +143,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
143
143
if (closeBottomSheet () == kFilterStatePanel) {
144
144
return ;
145
145
}
146
- _filterStateController =
147
- Scaffold .of (context).showBottomSheet <StoreConnector >((context) {
146
+ _filterStateController = Scaffold .of (context).showBottomSheet ((context) {
148
147
return StoreConnector <AppState , BuiltList <EntityState >>(
149
148
converter: (Store <AppState > store) =>
150
149
store.state.getListState (widget.entityType).stateFilters,
@@ -185,8 +184,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
185
184
return ;
186
185
}
187
186
188
- _filterStatusController =
189
- Scaffold .of (context).showBottomSheet <StoreConnector >((context) {
187
+ _filterStatusController = Scaffold .of (context).showBottomSheet ((context) {
190
188
return StoreConnector <AppState , BuiltList <EntityStatus >>(
191
189
converter: (Store <AppState > store) =>
192
190
store.state.getListState (widget.entityType).statusFilters,
@@ -226,8 +224,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
226
224
return ;
227
225
}
228
226
229
- _sortController =
230
- Scaffold .of (context).showBottomSheet <StoreConnector >((context) {
227
+ _sortController = Scaffold .of (context).showBottomSheet ((context) {
231
228
return StoreConnector <AppState , ListUIState >(
232
229
//distinct: true,
233
230
converter: (Store <AppState > store) =>
@@ -284,7 +281,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
284
281
}
285
282
286
283
_filterCustom1Controller =
287
- Scaffold .of (context).showBottomSheet < StoreConnector > ((context) {
284
+ Scaffold .of (context).showBottomSheet ((context) {
288
285
return CustomFieldSelector (
289
286
customNumber: 1 ,
290
287
entityType: widget.entityType,
@@ -304,7 +301,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
304
301
return ;
305
302
}
306
303
_filterCustom2Controller =
307
- Scaffold .of (context).showBottomSheet < StoreConnector > ((context) {
304
+ Scaffold .of (context).showBottomSheet ((context) {
308
305
return CustomFieldSelector (
309
306
customNumber: 2 ,
310
307
entityType: widget.entityType,
@@ -325,7 +322,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
325
322
}
326
323
327
324
_filterCustom3Controller =
328
- Scaffold .of (context).showBottomSheet < StoreConnector > ((context) {
325
+ Scaffold .of (context).showBottomSheet ((context) {
329
326
return CustomFieldSelector (
330
327
customNumber: 3 ,
331
328
entityType: widget.entityType,
@@ -346,7 +343,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
346
343
}
347
344
348
345
_filterCustom4Controller =
349
- Scaffold .of (context).showBottomSheet < StoreConnector > ((context) {
346
+ Scaffold .of (context).showBottomSheet ((context) {
350
347
return CustomFieldSelector (
351
348
customNumber: 4 ,
352
349
entityType: widget.entityType,
0 commit comments