lerp method

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

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

Implementation

@useResult
FLabelStyles lerp(FLabelStyles other, double t) => FLabelStyles(
  horizontalStyle: horizontalStyle.lerp(other.horizontalStyle, t),
  verticalStyle: verticalStyle.lerp(other.verticalStyle, t),
);