CSSAnimationConfigElements constructor
CSSAnimationConfigElements(
- Iterable<
Element> elements, - Duration 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, - 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);