AnimatedClipRect constructor
const
AnimatedClipRect({
- Key? key,
- required Widget child,
- required bool open,
- bool horizontalAnimation = true,
- bool verticalAnimation = true,
- Alignment alignment = Alignment.center,
- Duration duration = const Duration(milliseconds: 500),
- Duration? reverseDuration,
- Curve curve = Curves.linear,
- Curve? reverseCurve,
- AnimationBehavior animationBehavior = AnimationBehavior.normal,
Implementation
const AnimatedClipRect({
super.key,
required this.child,
required this.open,
this.horizontalAnimation = true,
this.verticalAnimation = true,
this.alignment = Alignment.center,
this.duration = const Duration(milliseconds: 500),
this.reverseDuration,
this.curve = Curves.linear,
this.reverseCurve,
this.animationBehavior = AnimationBehavior.normal,
});