Fuzzy class abstract final cli

Fuzzy matching, like a code editor's file finder.

The letters of the query must appear in the text in order, but not next to each other: gco matches git checkout. Matches score higher when letters are next to each other or start words.

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

highlight(String text, List<int> positions, String style(String)) → String
text with the characters at positions drawn with style.
match(String query, String text) → FuzzyMatch?
How well query matches text, or null if it doesn't. Case is ignored. An empty query matches everything with a score of 0.