lerp method
Linearly interpolate between this and another FTooltipStyle using the given factor t
.
Implementation
@useResult
FTooltipStyle lerp(FTooltipStyle other, double t) => FTooltipStyle(
decoration: BoxDecoration.lerp(decoration, other.decoration, t) ?? decoration,
backgroundFilter: t < 0.5 ? backgroundFilter : other.backgroundFilter,
padding: EdgeInsets.lerp(padding, other.padding, t) ?? padding,
textStyle: TextStyle.lerp(textStyle, other.textStyle, t) ?? textStyle,
);