LspCompletion class
Represents a completion item in the LSP (Language Server Protocol). This class is used internally by the CodeCrafter widget to display completion suggestions.
Constructors
- LspCompletion({required String label, required CompletionItemType itemType})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Icon
-
The icon associated with the completion item, determined by its type.
final
- itemType → CompletionItemType
-
The type of the completion item, which determines the icon and color used to represent it.
The icon is determined by the completionItemIcons map.
final
- label → String
-
The label of the completion item, which is displayed in the completion suggestions.
final
- 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