BrnSelectionView class

筛选组件

Inheritance
Available Extensions

Constructors

BrnSelectionView({Key? key, required List<BrnSelectionEntity> originalSelectionData, BrnSelectionViewController? selectionViewController, required BrnOnSelectionChanged onSelectionChanged, BrnConfigTagCountPerRow? configRowCount, BrnSelectionConverterDelegate selectionConverterDelegate = _defaultConverter, BrnOnMenuItemInterceptor? onMenuClickInterceptor, BrnOnCustomSelectionMenuClick? onCustomSelectionMenuClick, BrnOnCustomFloatingLayerClick? onCustomFloatingLayerClick, BrnOnMoreSelectionMenuClick? onMoreSelectionMenuClick, OnDefaultParamsPrepared? onDefaultParamsPrepared, BrnOnSelectionPreShow? onSelectionPreShow, double? constantTop, ScrollController? extraScrollController, BrnSelectionConfig? themeData})

Properties

configRowCount BrnConfigTagCountPerRow?
用于对 SelectionWindowType.Range 类型的列数做配置的回调。
final
constantTop double?
指定筛选固定的相对于屏幕的顶部距离,默认null不指定
final
extraScrollController ScrollController?
筛选所在列表的外部列表滚动需要收起筛选,此处为最外层列表,有点恶心,但是暂时只想到这个方法,有更好方式的一定要告诉我
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onCustomFloatingLayerClick BrnOnCustomFloatingLayerClick?
final
onCustomSelectionMenuClick BrnOnCustomSelectionMenuClick?
final
onDefaultParamsPrepared OnDefaultParamsPrepared?
处理完默认选中的参数后给外部回调
final
onMenuClickInterceptor BrnOnMenuItemInterceptor?
final
onMoreSelectionMenuClick BrnOnMoreSelectionMenuClick?
final
onSelectionChanged BrnOnSelectionChanged
final
onSelectionPreShow BrnOnSelectionPreShow?
final
originalSelectionData List<BrnSelectionEntity>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionConverterDelegate BrnSelectionConverterDelegate
final
selectionViewController BrnSelectionViewController?
getter/setter pair
themeData BrnSelectionConfig?
getter/setter pair

Methods

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