LanguageStatusItem class

A language status item is the preferred way to present language status reports for the active text editors, such as selected linter or notifying about a configuration problem.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

LanguageStatusItem({String? id, String? name, Object? selector, LanguageStatusSeverity? severity, String? text, String? detail, bool? busy, Command? command, AccessibilityInformation? accessibilityInformation, void dispose()?})
factory

Properties

accessibilityInformation AccessibilityInformation?

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

Accessibility information used when a screen reader interacts with this item
getter/setter pair
busy bool

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

Controls whether the item is shown as "busy". Defaults to false.
getter/setter pair
command Command?

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

A {@linkcode Command command} for this item.
getter/setter pair
detail String?

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

Optional, human-readable details for this item.
getter/setter pair
dispose ↔ void Function()

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

The identifier of this item.
no setter
name String?

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

The short name of this item, like 'Java Language Status', etc.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selector Object

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

A {@link DocumentSelector selector} that defines for what editors this item shows.
getter/setter pair
severity LanguageStatusSeverity

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

The severity of this item.
getter/setter pair
text String

Available on LanguageStatusItem, provided by the LanguageStatusItem$Typings extension

The text to show for the entry. You can embed icons in the text by leveraging the syntax:
getter/setter pair

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