SearchServiceV3 class

Constructors

SearchServiceV3({required EditorState editorState})

Properties

caseSensitive bool
getter/setter pair
currentSelectedIndex ValueNotifier<int>
getter/setter pair
editorState EditorState
final
hashCode int
The hash code for this object.
no setterinherited
matchWrappers ValueNotifier<List<MatchWrapper>>
getter/setter pair
queriedPattern Pattern
getter/setter pair
regex bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchAlgorithm ↔ SearchAlgorithm
getter/setter pair
selectedIndex int
getter/setter pair
targetString String
getter/setter pair

Methods

dispose() → void
findAndHighlight(String target, {bool unHighlight = false}) String
This method takes in a boolean parameter moveUp, if set to true, the match located above the current selected match is newly selected. Otherwise the match below the current selected match is newly selected.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceAllMatches(String replaceText) → void
Replaces all the found occurrences of pattern with replaceText
replaceSelectedWord(String replaceText) Future<void>
Replaces the current selected word with replaceText. After replacing the selected word, this method selects the next matched word if that exists.
toString() String
A string representation of this object.
inherited

Operators

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