FSearchController class

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
焦点状态
no setter
hashCode int
The hash code for this object.
no setterinherited
hint String?
当前 Hint 内容
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
输入的文本内容
getter/setter pair

Methods

clearFocus() → dynamic
移除焦点
dispose() → dynamic
销毁
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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