styles property

  1. @css
List<StyleRule> styles
final

Implementation

@css
static final List<StyleRule> styles = [
  css('.arcane-mega-menu-trigger:hover').styles(raw: {
    'color': ArcaneColors.onSurface,
  }),
  css('.arcane-mega-menu-item:hover').styles(raw: {
    'background-color': ArcaneColors.surfaceVariant,
  }),
];