SantoMultiColumnPicker class

从屏幕下方弹起的多级筛选选择器 可设置筛项的层级、多选、单选等筛选相关功能

Inheritance

Constructors

SantoMultiColumnPicker({Key? key, required SantoPickerEntity entity, double maxHeight = 280.0, bool showSelectedCount = false, bool isIncludeUnLimit = false, SantoOnPickerConfirm? onConfirm, SantoOnEntityTap? onEntityTap, SantoOnSelectEntityInterceptor? canSelectEntryInterceptor, List<int>? defaultFocusedIndexes, SantoPickerTitleConfig pickerTitleConfig = SantoPickerTitleConfig.Default, SantoPickerConfig? themeData})

Properties

canSelectEntryInterceptor → SantoOnSelectEntityInterceptor?
当前选项是否可以被选中:返回 true 可以被选中 false 不可以被选中
final
defaultFocusedIndexes → List<int>?
初始化时的选中选项
final
entity → SantoPickerEntity
筛选数据源
final
hashCode → int
The hash code for this object.
no setterinherited
isIncludeUnLimit → bool
当选中”不限“的时候,返回的 result 结果是否包含 “不限” 选项 “不限” 选项 value 字段不能为空,上一级 key 字段不能为空,默认 false
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxHeight → double
Picker展示最大高度,默认 280
final
onConfirm → SantoOnPickerConfirm?
选择数据后回调函数
final
onEntityTap → SantoOnEntityTap?
选择项目后回调函数
final
pickerTitleConfig → SantoPickerTitleConfig
Picker Title 数据配置
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showSelectedCount → bool
展示选中的条目的个数,默认 false
final
themeData ↔ SantoPickerConfig?
主题定制,只有 Picker Title 部分样式生效
getter/setter pair

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _SantoSelectionGroupViewState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited