lerp static method
Implementation
static ZeroBottomSheetStyle lerp(
ZeroBottomSheetStyle? a, ZeroBottomSheetStyle? b, double t) {
return ZeroBottomSheetStyle(
backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
handleColor: Color.lerp(a?.handleColor, b?.handleColor, t),
barierColor: Color.lerp(a?.barierColor, b?.barierColor, t),
borderRadius:
BorderRadiusGeometry.lerp(a?.borderRadius, b?.borderRadius, t),
useHandle: t < 0.5 ? a?.useHandle : b?.useHandle,
elevation: t < 0.5 ? a?.elevation : b?.elevation,
);
}