lerp method

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

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

Implementation

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