lerp method

  1. @useResult
FAlertStyles lerp(
  1. FAlertStyles other,
  2. double t
)

Linearly interpolate between this and another FAlertStyles using the given factor t.

Implementation

@useResult
FAlertStyles lerp(FAlertStyles other, double t) =>
    FAlertStyles(primary: primary.lerp(other.primary, t), destructive: destructive.lerp(other.destructive, t));