styles property

  1. @css
List<StyleRule> styles
final

Implementation

@css
static final List<StyleRule> styles = [
  css('.arcane-card.clickable:hover').styles(raw: {
    'border-color': ArcaneColors.outline,
    'transform': ArcaneEffects.hoverLift,
  }),
  css('.arcane-card.clickable:active').styles(raw: {
    'transform': 'translateY(0)',
  }),
];