followPath method
T
followPath({})
Adds a FollowPathEffect that moves the target following the specified path
(via Transform).
The path coordinates are relative to the target's nominal position.
Implementation
T followPath({
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
required path,
bool? rotate,
double? rotationOffset,
bool? transformHitTests,
}) =>
addEffect(FollowPathEffect(
delay: delay,
duration: duration,
curve: curve,
begin: begin,
end: end,
path: path,
rotate: rotate,
rotationOffset: rotationOffset,
transformHitTests: transformHitTests,
));