AnimationScope constructor
const
AnimationScope({
- Key? key,
- required AnimationScenario animation,
- required Widget builder(),
- Widget? child,
You can play the animation builder
in the form corresponding to UIAnimatorScenario
.
Create the UIAnimatorScenario
path first.
The basic specifications are the same as AnimatedBuilder.
key
: Widget key.
animator
: Animator object.
path
: The path where the animator objects are stored.
builder: Callback for building the animation.
child: Widget that does not update when animated.
Implementation
const AnimationScope({
Key? key,
required this.animation,
required this.builder,
this.child,
}) : super(key: key);