AnimateWidget constructor
const
AnimateWidget({
- Key? key,
- double? initialValue,
- double lowerBound = 0.0,
- double upperBound = 1.0,
- Duration duration = const Duration(milliseconds: 500),
- Duration? reverseDuration,
- Curve curve = Curves.linear,
- Curve? reverseCurve,
- int? repeats,
- int? cycles,
- void endAnimationListener()?,
- AnimationBehavior animationBehavior = AnimationBehavior.normal,
- bool triggerOnInit = true,
- bool triggerOnRebuild = false,
- bool resetOnRebuild = false,
- required Widget builder(
- BuildContext,
- Animate animate
Implementation
const AnimateWidget({
Key? key,
this.initialValue,
this.lowerBound = 0.0,
this.upperBound = 1.0,
this.duration = const Duration(milliseconds: 500),
this.reverseDuration,
this.curve = Curves.linear,
this.reverseCurve,
this.repeats,
this.cycles,
this.endAnimationListener,
this.animationBehavior = AnimationBehavior.normal,
this.triggerOnInit = true,
this.triggerOnRebuild = false,
this.resetOnRebuild = false,
required this.builder,
}) : super(key: key);