CSSAnimationConfigElements constructor

CSSAnimationConfigElements(
  1. Iterable<Element> elements,
  2. Duration duration, {
  3. String timingFunction = 'ease',
  4. Map<String, String>? initialProperties,
  5. Iterable<String>? initialClasses,
  6. Iterable<String>? rollbackProperties,
  7. Map<String, String>? transitionProperties,
  8. Map<String, String>? preFinalProperties,
  9. Map<String, String>? finalProperties,
  10. Iterable<String>? finalClasses,
  11. Duration? finalizeInterval,
})

Implementation

CSSAnimationConfigElements(Iterable<Element> elements, this.duration,
    {String timingFunction = 'ease',
    Map<String, String>? initialProperties,
    Iterable<String>? initialClasses,
    Iterable<String>? rollbackProperties,
    Map<String, String>? transitionProperties,
    Map<String, String>? preFinalProperties,
    Map<String, String>? finalProperties,
    Iterable<String>? finalClasses,
    this.finalizeInterval})
    : _elements = _parseElements(elements),
      timingFunction = _parseTimingFunction(timingFunction),
      _initialProperties = initialProperties ?? {},
      _initialClasses = _parseSet(initialClasses),
      _rollbackProperties = _parseSet(rollbackProperties),
      _transitionProperties = transitionProperties ?? {},
      _preFinalProperties = preFinalProperties ?? {},
      _finalProperties = finalProperties ?? {},
      _finalClasses = _parseSet(finalClasses);