Animated class

DSL widget that wraps child with the CSS keyframe animation described by animation.

A const-friendly alias for AnimatedNode. Injects the @keyframes definition into document.head (browser) or the SSR stream and encloses child in a <div> with the calculated animation inline style.

Animated(
  animation: BloomAnimationPresets.fadeIn,
  child: const Div(
    className: 'notification-toast',
    text: 'Changes saved successfully',
  ),
)
Inheritance

Constructors

Animated({required BloomAnimation animation, required BloomNode child})
Creates an Animated wrapper node applying animation to child.
const

Properties

animation → BloomAnimation
The animation configuration describing keyframes, duration, timing, and fill mode.
finalinherited
child → BloomNode
The descriptor tree enclosed within the animated wrapper <div>.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited