|
|
|
|
|
|
D.assert(a != null); |
|
|
|
D.assert(b != null); |
|
|
|
return new SliderThemeData( |
|
|
|
trackHeight: MathUtils.lerpNullableFloat(a.trackHeight.Value, b.trackHeight.Value, t), |
|
|
|
trackHeight: MathUtils.lerpNullableFloat(a.trackHeight, b.trackHeight, t), |
|
|
|
activeTrackColor: Color.lerp(a.activeTrackColor, b.activeTrackColor, t), |
|
|
|
inactiveTrackColor: Color.lerp(a.inactiveTrackColor, b.inactiveTrackColor, t), |
|
|
|
disabledActiveTrackColor: Color.lerp(a.disabledActiveTrackColor, b.disabledActiveTrackColor, t), |
|
|
|