TurnTransition constructor
const
TurnTransition({})
It is a RotationTransition but this will be animate when receiving a Boolean value.
Implementation
const TurnTransition({
Key? key,
required this.turn,
required this.child,
this.begin = 90,
this.end = -90,
this.curve = Curves.ease,
this.duration = const Duration(milliseconds: 200),
}) : super(key: key);