AnimationScope constructor

const AnimationScope({
  1. Key? key,
  2. required AnimationScenario animation,
  3. required Widget builder(
    1. BuildContext,
    2. Widget,
    3. AnimationScenario
    ),
  4. 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);