styles property

  1. @css
List<StyleRule> styles
final

Implementation

@css
static final List<StyleRule> styles = [
  css('.arcane-fab:hover').styles(raw: {
    'transform': 'scale(1.05)',
    'box-shadow': ArcaneEffects.shadowXl,
  }),
  css('.arcane-fab:active').styles(raw: {
    'transform': 'scale(0.98)',
  }),
];