lerp static method
DashedContainerProperties
lerp(
- BuildContext context,
- DashedContainerProperties a,
- DashedContainerProperties b,
- double t,
Implementation
static DashedContainerProperties lerp(
BuildContext context,
DashedContainerProperties a,
DashedContainerProperties b,
double t,
) {
return DashedContainerProperties(
width: lerpDouble(a.width, b.width, t)!,
gap: lerpDouble(a.gap, b.gap, t)!,
thickness: lerpDouble(a.thickness, b.thickness, t)!,
color: Color.lerp(a.color, b.color, t)!,
borderRadius: BorderRadius.lerp(a.borderRadius.optionallyResolve(context),
b.borderRadius.optionallyResolve(context), t)!,
);
}