DoubleAnimationWrapper<T> constructor
const
DoubleAnimationWrapper<T> ({
- Key? key,
- required Duration duration,
- bool startAnimation = true,
- Duration delay = Duration.zero,
- AnimationController? controller,
- required Animation<
T> firstAnimation(- AnimationController controller
- required Animation<
T> secondAnimation(- AnimationController controller
- double viewPort = 0.1,
- required Widget child(
- AnimationController controller,
- T first,
- T second
Implementation
const DoubleAnimationWrapper(
{Key? key,
required this.duration,
this.startAnimation = true,
this.delay = Duration.zero,
this.controller,
required this.firstAnimation,
required this.secondAnimation,
this.viewPort = 0.1,
required this.child})
: super(key: key);