StyleRule.keyframes constructor

const StyleRule.keyframes({
  1. required String name,
  2. required Map<String, Styles> styles,
})

Renders a @keyframes css rule.

The @keyframes CSS at-rule controls the intermediate steps in a CSS animation sequence by defining styles for keyframes (or waypoints) along the animation sequence. This gives more control over the intermediate steps of the animation sequence than transitions.

Implementation

const factory StyleRule.keyframes({required String name, required Map<String, Styles> styles}) = KeyframesStyleRule;