rotate method
T
rotate({})
Adds a RotateEffect that rotates the target between begin
and end
(via RotationTransition).
Values are specified in "turns" (360° or 2𝝅 radians).
Implementation
T rotate({
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
Alignment? alignment,
bool? transformHitTests,
}) =>
addEffect(RotateEffect(
delay: delay,
duration: duration,
curve: curve,
begin: begin,
end: end,
alignment: alignment,
transformHitTests: transformHitTests,
));