lerp method

  1. @useResult
FTimeFieldStyle lerp(
  1. FTimeFieldStyle other,
  2. double t
)

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

Implementation

@useResult
FTimeFieldStyle lerp(FTimeFieldStyle other, double t) => .new(
  textFieldStyle: textFieldStyle.lerp(other.textFieldStyle, t),
  popoverStyle: popoverStyle.lerp(other.popoverStyle, t),
  pickerStyle: pickerStyle.lerp(other.pickerStyle, t),
  iconStyle: .lerp(iconStyle, other.iconStyle, t),
);