CodeAutocompleteResult class

The autocomplete result selected by user, the editor will apply this to code content.

Constructors

CodeAutocompleteResult({required String text, required TextSelection selection})
const
CodeAutocompleteResult.fromText(String text)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection TextSelection
The new selection after the autocompletion.
final
text String
The autocomplete text. e.g. If user inputs go and the text is good, we will replace go with good.
final

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