FSearchController class Null safety

FSearch 的控制器,能够回去到输入的文本、Hint、焦点状态等信息。同时提供各种监听和文本更新能力。

The controller of FSearch can go back to the input text, Hint, focus status and other information. At the same time provide a variety of monitoring and text update capabilities.

Constructors

FSearchController()

Properties

focus bool
焦点状态
read-only
hashCode int
The hash code for this object.
read-onlyinherited
hint String?
当前 Hint 内容
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
text String?
输入的文本内容
read / write

Methods

clearFocus() → dynamic
移除焦点
dispose() → dynamic
销毁
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
requestFocus() → dynamic
请求获得焦点
setListener(VoidCallback listener) → dynamic
设置输入监听
setOnFocusChangedListener(ValueChanged<bool> listener) → dynamic
设置焦点变化监听
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited