RotationTransition constructor

const RotationTransition({Key key, @required Animation<double> turns, Alignment alignment: Alignment.center, Widget child })

Creates a rotation transition.

The turns argument must not be null.

Implementation

const RotationTransition({
  Key key,
  @required Animation<double> turns,
  this.alignment = Alignment.center,
  this.child,
}) : super(key: key, listenable: turns);