lerp method

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

Implementation

@useResult
FButtonIconContentStyle lerp(FButtonIconContentStyle other, double t) => FButtonIconContentStyle(
  iconStyle: FWidgetStateMap.lerpIconThemeData(iconStyle, other.iconStyle, t),
  padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
);