Animated constructor
const
Animated({
- Key? key,
- AnimationSpec animation = const AnimationSpec(),
- Object? value = alwaysAnimateValue,
- required Widget child,
Creates a widget that applies an animation only to state changes in its descendants.
Implementation
const Animated({
super.key,
this.animation = const AnimationSpec(),
this.value = alwaysAnimateValue,
required this.child,
});