InputExtendState<T> class
- Inheritance
-
- Object
- State<
InputExtend> - InputExtendState
Constructors
Properties
- context → BuildContext
-
The location in the tree where this widget builds.
no setterinherited
-
getCheckedData
→ List<
T> -
no setter
- getFocusNode → FocusNode
-
no setter
- getInputScrollController → ScrollController
-
返回输入框的滑动控制器
no setter
-
getSearchData
→ List<
T> -
no setter
- getTextController → TextEditingController
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mounted → bool
-
Whether this State object is currently in a tree.
no setterinherited
- oldSize ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widget → InputExtend
-
The current configuration.
no setterinherited
Methods
-
activate(
) → void -
Called when this object is reinserted into the tree after having been
removed via deactivate.
inherited
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
closePop(
) → void -
createCheckedWidget(
) → List< Widget> - 外部构建传入选中后的数据样式
-
deactivate(
) → void -
Called when this object is removed from the tree.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
didChangeDependencies(
) → void -
Called when a dependency of this State object changes.
inherited
-
didUpdateWidget(
covariant InputExtend oldWidget) → void -
Called whenever the widget configuration changes.
override
-
dispose(
) → void -
Called when this object is removed from the tree permanently.
override
-
getTextEditingController(
) → TextEditingController? -
initState(
) → void -
Called when this object is inserted into the tree.
override
-
isChecked(
int index) → bool - 提供给同一个数据源集合的判断方法,实际中 通常不是
-
isCheckedVO(
CompareVO compareVO) → bool - 提供不同数据源的比较,通常是边搜索,边比较是否选中
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notyCheckedBoxChange(
) → void -
notyListUiChange(
) → void -
notyOverlayDataChange(
) → void -
reassemble(
) → void -
Called whenever the application is reassembled during debugging, for
example during hot reload.
inherited
-
setCheckChange(
{required T data, Compare? compare}) → Future< bool> - data:需要比较的对象 compare:比较器 说明:当是同一数据源则可以不传比较器,直接比较对象地址。 当非同一数据源时(网络接口等),必须传入比较器,根据数据源字段信息比较(eg:id 等)
-
setCheckedData(
List< T> ? checkedData) → void -
setSearchData(
List< T> ? newData) → void -
setState(
VoidCallback fn) → void -
Notify the framework that the internal state of this object has changed.
inherited
-
setText(
String text) → void -
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
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited