RotateAnimation constructor

const RotateAnimation({
  1. Key? key,
  2. required Widget child,
  3. required Duration duration,
})

Implementation

const RotateAnimation({super.key, required this.child, required this.duration});