styles property

  1. @css
List<StyleRule> styles
final

Implementation

@css
static final List<StyleRule> styles = [
  css('@keyframes arcane-dropdown-fade').styles(raw: {
    '0%': 'opacity: 0; transform: translateY(-8px)',
    '100%': 'opacity: 1; transform: translateY(0)',
  }),
  css('.arcane-dropdown-item:hover:not(:disabled)').styles(raw: {
    'background-color': ArcaneColors.surfaceVariant,
  }),
];