styles property

  1. @css
List<StyleRule> styles
final

Implementation

@css
static final List<StyleRule> styles = [
  css('@keyframes arcane-toast-in').styles(raw: {
    'from': 'transform: translateY(-10px); opacity: 0',
    'to': 'transform: translateY(0); opacity: 1',
  }),
  css('.arcane-toast-close:hover').styles(raw: {
    'background-color': ArcaneColors.surfaceVariant,
  }),
];