lerp method

  1. @override
AgentStepsSpec lerp(
  1. covariant AgentStepsSpec? other,
  2. double t
)
inherited

Linearly interpolates with another Spec object.

Implementation

@override
AgentStepsSpec lerp(AgentStepsSpec? other, double t) {
  return AgentStepsSpec(
    container: container.lerp(other?.container, t),
    trigger: trigger.lerp(other?.trigger, t),
    icon: icon.lerp(other?.icon, t),
    label: label.lerp(other?.label, t),
    indicator: indicator.lerp(other?.indicator, t),
    rail: rail.lerp(other?.rail, t),
  );
}