GrockRotateAnimation constructor
const
GrockRotateAnimation({
- Key? key,
- required Widget child,
- Duration duration = const Duration(milliseconds: 400),
- double begin = 0.0,
- double end = 1.0,
- Curve curve = Curves.easeInOut,
- Curve reverseCurve = Curves.easeInOut,
- dynamic addListener(
- AnimationController controller
- Offset origin = Offset.zero,
- AlignmentGeometry alignment = Alignment.center,
- Duration delay = Duration.zero,
Implementation
const GrockRotateAnimation({
super.key,
required this.child,
this.duration = const Duration(milliseconds: 400),
this.begin = 0.0,
this.end = 1.0,
this.curve = Curves.easeInOut,
this.reverseCurve = Curves.easeInOut,
this.addListener,
this.origin = Offset.zero,
this.alignment = Alignment.center,
this.delay = Duration.zero,
});