lerp static method

SmartTextStyle? lerp(
  1. SmartTextStyle textStyle,
  2. SmartTextStyle other,
  3. double t
)

Implementation

static SmartTextStyle? lerp(SmartTextStyle textStyle, SmartTextStyle other, double t) {
  return SmartTextStyle(
    value: TextStyle.lerp(textStyle.value, other.value, t) ?? textStyle.value,
  );
}