TextSearcher class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
hitWidget(
String content, String keyword, TextStyle normalStyle, TextStyle highStyle) → Widget -
构建搜索字体组成的文本
content
文本内容keyword
搜索关键字normalStyle
正常文本样式highStyle
搜索关键字文本样式 -
kmpSearch(
String text, String pattern) → int -
pi(
int j, String pattern) → int -
search(
String target, String query) → RecordHitInfo?