BrnFlatSelection class

支持tag 、输入 、range、选择等类型混合一级筛选 也可支持点击选项跳转二级页面

Inheritance
Available Extensions

Constructors

BrnFlatSelection({Key? key, required List<BrnSelectionEntity> entityDataList, dynamic confirmCallback(Map<String, String>)?, BrnOnCustomFloatingLayerClick? onCustomFloatingLayerClick, int preLineTagSize = 3, bool isNeedConfigChild = true, BrnFlatSelectionController? controller, BrnSelectionConfig? themeData})

Properties

confirmCallback → (dynamic Function(Map<String, String>)?)
点击确定回调
final
controller BrnFlatSelectionController?
controller.dispose() 操作交由外部处理
final
entityDataList List<BrnSelectionEntity>
筛选原始数据
final
hashCode int
The hash code for this object.
no setterinherited
isNeedConfigChild bool
是否需要配置子选项
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onCustomFloatingLayerClick BrnOnCustomFloatingLayerClick?
BrnSelectionEntity.filterTypeBrnSelectionFilterType.layer orBrnSelectionFilterType.customLayer时 跳转到二级页面的自定义操作
final
preLineTagSize int
每行展示tag数量 默认真是3个
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themeData BrnSelectionConfig?
主题配置 如有对文本样式、圆角、间距等BrnSelectionConfig有特定要求可以配置该属性
getter/setter pair

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _BrnFlatSelectionState
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}) 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