lerp static method
Linearly interpolate between two MacosIconButtonThemeData.
All the properties must be non-null.
Implementation
static MacosIconButtonThemeData lerp(
MacosIconButtonThemeData a,
MacosIconButtonThemeData b,
double t,
) {
return MacosIconButtonThemeData(
backgroundColor: Color.lerp(a.backgroundColor, b.backgroundColor, t),
disabledColor: Color.lerp(a.disabledColor, b.disabledColor, t),
hoverColor: Color.lerp(a.hoverColor, b.hoverColor, t),
shape: b.shape,
borderRadius: BorderRadius.lerp(a.borderRadius, b.borderRadius, t),
boxConstraints:
BoxConstraints.lerp(a.boxConstraints, b.boxConstraints, t),
padding: EdgeInsetsGeometry.lerp(a.padding, b.padding, t),
);
}