lerp method

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

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

Implementation

@useResult
FDateFieldStyle lerp(FDateFieldStyle other, double t) => FDateFieldStyle(
  textFieldStyle: textFieldStyle.lerp(other.textFieldStyle, t),
  popoverStyle: popoverStyle.lerp(other.popoverStyle, t),
  calendarStyle: calendarStyle.lerp(other.calendarStyle, t),
  iconStyle: IconThemeData.lerp(iconStyle, other.iconStyle, t),
);