styles property

  1. @css
List<StyleRule> styles
final

Implementation

@css
static final List<StyleRule> styles = [
  css('@keyframes arcane-fade-in').styles(raw: {
    'from': 'opacity: 0',
    'to': 'opacity: 1',
  }),
  css('@keyframes arcane-scale-in').styles(raw: {
    'from': 'transform: scale(0.95); opacity: 0',
    'to': 'transform: scale(1); opacity: 1',
  }),
  css('.arcane-dialog-header button:hover').styles(raw: {
    'background-color': ArcaneColors.surfaceVariant,
  }),
];