flip method
T
flip({})
Adds a FlipEffect that animates a 2.5D card flip rotation effect (via Transform).
The effect can be horizontal or vertical.
The begin
and end
values specify the number of "flips" (ie. half turns,
180° or 𝝅 radians) from nominal.
Implementation
T flip({
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
Alignment? alignment,
double? perspective,
Axis? direction,
}) =>
addEffect(FlipEffect(
delay: delay,
duration: duration,
curve: curve,
begin: begin,
end: end,
alignment: alignment,
perspective: perspective,
direction: direction,
));