AnimatedRotationBox constructor

const AnimatedRotationBox({
  1. Key? key,
  2. Duration duration = const Duration(seconds: 1),
  3. Curve curve = Curves.linear,
  4. Widget? child,
})

Implementation

const AnimatedRotationBox({
  Key? key,
  this.duration = const Duration(seconds: 1),
  this.curve = Curves.linear,
  this.child,
}) : super(key: key);