target method

  1. @override
void target(
  1. Offset target, {
  2. required double time,
})
override

time is the time since the last target call. After this call, internal time resets to 0.

Implementation

@override
void target(Offset target, {required double time}) {
  (simulationx as DynamicEaseInOutSimulation).target(target.dx, time: time);
  (simulationy as DynamicEaseInOutSimulation).target(target.dy, time: time);
}