lerpFrom method
Linearly interpolate between this style and from
.
Implementation
@override
LabelStyle lerpFrom(covariant LabelStyle from, double t) => LabelStyle(
textStyle: TextStyle.lerp(from.textStyle, textStyle, t),
span: span,
textAlign: textAlign,
textDirection: textDirection,
textScaleFactor: lerpDouble(from.textScaleFactor, textScaleFactor, t),
maxLines: lerpDouble(from.maxLines, maxLines, t)?.toInt(),
ellipsis: ellipsis,
locale: locale,
strutStyle: strutStyle,
textWidthBasis: textWidthBasis,
textHeightBehavior: textHeightBehavior,
minWidth: lerpDouble(from.minWidth, minWidth, t),
maxWidth: lerpDouble(from.maxWidth, maxWidth, t));