TSelectionView class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- TSelectionView
Constructors
-
TSelectionView({Key? key, required List<
TSelectionEntity> originalSelectionData, TSelectionViewController? selectionViewController, required TOnSelectionChanged onSelectionChanged, TConfigTagCountPerRow? configRowCount, TSelectionConverterDelegate selectionConverterDelegate = _defaultConverter, TOnMenuItemInterceptor? onMenuClickInterceptor, TOnCustomSelectionMenuClick? onCustomSelectionMenuClick, TOnCustomFloatingLayerClick? onCustomFloatingLayerClick, TOnMoreSelectionMenuClick? onMoreSelectionMenuClick, OnDefaultParamsPrepared? onDefaultParamsPrepared, TOnSelectionPreShow? onSelectionPreShow, double? constantTop, ScrollController? extraScrollController, TSelectionConfig? themeData})
Properties
- configRowCount → TConfigTagCountPerRow?
-
用于对 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 → TOnCustomFloatingLayerClick?
-
final
- onCustomSelectionMenuClick → TOnCustomSelectionMenuClick?
-
final
- onDefaultParamsPrepared → OnDefaultParamsPrepared?
-
处理完默认选中的参数后给外部回调
final
- onMenuClickInterceptor → TOnMenuItemInterceptor?
-
final
- onMoreSelectionMenuClick → TOnMoreSelectionMenuClick?
-
final
- onSelectionChanged → TOnSelectionChanged
-
final
- onSelectionPreShow → TOnSelectionPreShow?
-
final
-
originalSelectionData
→ List<
TSelectionEntity> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionConverterDelegate → TSelectionConverterDelegate
-
final
- selectionViewController ↔ TSelectionViewController?
-
getter/setter pair
- themeData ↔ TSelectionConfig?
-
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