lerp method
Interpolates between two styles for animated theme transitions.
Implementation
FdcGridStatusBarStyle lerp(FdcGridStatusBarStyle other, double t) {
return FdcGridStatusBarStyle(
backgroundColor: Color.lerp(backgroundColor, other.backgroundColor, t),
textStyle: TextStyle.lerp(textStyle, other.textStyle, t),
height: lerpDouble(height, other.height, t),
padding: EdgeInsetsGeometry.lerp(padding, other.padding, t),
);
}