Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用官网的demon BrnSelectedListActionSheet 报错 #515

Open
an-bad-apple opened this issue Nov 14, 2023 · 1 comment
Open

使用官网的demon BrnSelectedListActionSheet 报错 #515

an-bad-apple opened this issue Nov 14, 2023 · 1 comment

Comments

@an-bad-apple
Copy link

问题提交

标题格式:[BUG]: 问题简介

The following _TypeError was thrown building:
type '(int, String) => String' is not a subtype of type '(int, String?) => dynamic'

When the exception was thrown, this was the stack:
#0 _BrnActionSheetSelectedItemListState.build. (package:bruno/src/components/actionsheet/brn_selected_list_action_sheet.dart:474:49)
#1 SliverChildBuilderDelegate.build (package:flutter/src/widgets/scroll_delegate.dart:490:22)
#2 SliverMultiBoxAdaptorElement._build (package:flutter/src/widgets/sliver.dart:828:28)
#3 SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:758:67)
#4 Iterable.forEach (dart:core/iterable.dart:347:35)
#5 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:805:24)
#6 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:734:7)
#7 Element.updateChild (package:flutter/src/widgets/framework.dart:3685:15)
image
image
image

@luyanlovelele
Copy link

itemTitleBuilder: (int index, String? entity) {
return entity;
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants