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

fix doc render error #496

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const BrnSingleSelectDialog(
| title | String | 弹窗标题名称 | 否 | "" |
| messageText | String? | 描述文案,优先级较 messageWidget 低,优先使用 messageWidget | 否 | |
| messageWidget | Widget? | 描述 Widget | 否 | |
| conditions | List<String> | 备选项数组 | 否 | |
| conditions | `List<String>` | 备选项数组 | 否 | |
| checkedItem | String | 选中的选项名称 | 否 | |
| submitText | String? | 确定/提交 按钮文案 | 否 | 默认值为国际化配置文本 '提交' |
| submitBgColor | Color | 提交按钮背景颜色 | 否 | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ BrnMultiDataPickerWidget(
| titleTextStyle | TextStyle? | 标题样式 | 否 | |
| confirmTextStyle | TextStyle? | 确认文案样式 | 否 | |
| cancelTextStyle | TextStyle? | 取消文案样式 | 否 | |
| pickerTitles | List<String>? | 多级数据选择每一级的默认标题 | 否 | 无 |
| pickerTitles | `List<String>?` | 多级数据选择每一级的默认标题 | 否 | 无 |
| pickerTitleFontSize | double? | 多级数据选择每一级默认标题的字体大小 | 否 | 16 |
| pickerTitleColor | Color? | 多级数据选择每一级默认标题的文案颜色 | 否 | Color(0XFF4A4E59) |
| textFontSize | double? | 多级数据选择数据字体大小 | 否 | 18 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ BrnSelectionView(

| **参数名** | **参数类型** | **作用** | **是否必填** | **默认值** |
| -------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------ | ---------- |
| originalSelectionData | List<**BrnSelectionEntity**> | 筛选所需数据用于展示筛选菜单栏,以及展开的筛选弹窗。 | 是 | 空 |
| originalSelectionData | `List<**BrnSelectionEntity**>` | 筛选所需数据用于展示筛选菜单栏,以及展开的筛选弹窗。 | 是 | 空 |
| selectionViewController | BrnSelectionViewController? | 用于主动控制筛选弹窗的关闭和刷新菜单的内容状态 | 否 | |
| onSelectionChanged | `void Function(int menuIndex, Map<String, String> selectedParams, Map<String, String> customParams, BrnSetCustomSelectionMenuTitle setCustomMenuTitle)` | 点击筛选弹窗中的【确认】按钮时回调给外部选中的参数,包括:<br />menuIndex:当前展开的 menu 位置;<br />selectedParams 所有筛选弹窗中选中的参数;<br />customParams:拦截 CustomHandle 类型的筛选并设置的自定义参数;setCustomMenuTitle:对当前的筛选 Menu 设置 title 和高亮的回调函数,一般与 customParams 、**onCustomSelectionMenuClick**搭配使用,例如,通过 onCustomSelectionMenuClick 回调返回 customParams 参数,setCustomMenuTitle 根据 customParams 参数判断是否高亮,是否需要根据参数更新筛选菜单的 Title。 | 是 | |
| configRowCount | `BrnConfigTagCountPerRow(int index, BrnSelectionEntity entity)?` | 仅适用于类型为 SelectionWindowType.Range 的筛选弹窗,用于对 SelectionWindowType.Range 类型的列数做配置,回调参数为 menu 的所在位置 index 和 menu 的数据。 | 否 | 空 |
Expand Down
Loading