backgroundColor property

ThemeColor? backgroundColor

The background color for this entry.

Note: only the following colors are supported:

  • new ThemeColor('statusBarItem.errorBackground')
  • new ThemeColor('statusBarItem.warningBackground')

More background colors may be supported in the future.

Note: when a background color is set, the statusbar may override the color choice to ensure the entry is readable in all themes.

Implementation

_i3.ThemeColor? get backgroundColor => _i5.getProperty(
      this,
      'backgroundColor',
    );
void backgroundColor=(ThemeColor? value)

Implementation

set backgroundColor(_i3.ThemeColor? value) {
  _i5.setProperty(
    this,
    'backgroundColor',
    value ?? _i6.undefined,
  );
}