SelectionView class
筛选组件
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SelectionView
Constructors
-
SelectionView({Key? key, required List<
SelectionEntity> originalSelectionData, BrnSelectionViewController? selectionViewController, required OnSelectionChanged onSelectionChanged, ConfigTagCountPerRow? configRowCount, SelectionConverterDelegate selectionConverterDelegate = _defaultConverter, OnMenuItemInterceptor? onMenuClickInterceptor, OnCustomSelectionMenuClick? onCustomSelectionMenuClick, OnCustomFloatingLayerClick? onCustomFloatingLayerClick, OnMoreSelectionMenuClick? onMoreSelectionMenuClick, OnDefaultParamsPrepared? onDefaultParamsPrepared, OnSelectionPreShow? onSelectionPreShow, double? constantTop, ScrollController? extraScrollController, SelectionConfig? themeData})
Properties
- configRowCount → ConfigTagCountPerRow?
-
用于对 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 → OnCustomFloatingLayerClick?
-
final
- onCustomSelectionMenuClick → OnCustomSelectionMenuClick?
-
final
- onDefaultParamsPrepared → OnDefaultParamsPrepared?
-
处理完默认选中的参数后给外部回调
final
- onMenuClickInterceptor → OnMenuItemInterceptor?
-
final
- onMoreSelectionMenuClick → OnMoreSelectionMenuClick?
-
final
- onSelectionChanged → OnSelectionChanged
-
final
- onSelectionPreShow → OnSelectionPreShow?
-
final
-
originalSelectionData
→ List<
SelectionEntity> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionConverterDelegate → SelectionConverterDelegate
-
final
- selectionViewController ↔ BrnSelectionViewController?
-
getter/setter pair
- themeData ↔ SelectionConfig?
-
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, 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