lerp static method
Implementation
static ZeroTextfieldStyleSet lerp(
ZeroTextfieldStyleSet? a, ZeroTextfieldStyleSet? b, double t) {
return ZeroTextfieldStyleSet._(
filled: ZeroTextfieldStyle.lerp(a?.filled, b?.filled, t),
rounded: ZeroTextfieldStyle.lerp(a?.rounded, b?.rounded, t),
outline: ZeroTextfieldStyle.lerp(a?.outline, b?.outline, t),
underline: ZeroTextfieldStyle.lerp(a?.underline, b?.underline, t),
defaultDecorationType:
(t < 0.5 ? a?.defaultDecorationType : b?.defaultDecorationType) ??
InputDecorationType.outline,
textfieldSize: (t < 0.5 ? a?.textfieldSize : b?.textfieldSize) ??
ZeroTextfieldSize.small,
focusedBorderColor:
Color.lerp(a?.focusedBorderColor, b?.focusedBorderColor, t)!,
focusedColor: Color.lerp(a?.focusedColor, b?.focusedColor, t)!);
}