lerp method
Linearly interpolate between this and another FPopoverStyle using the given factor t
.
Implementation
@useResult
FPopoverStyle lerp(FPopoverStyle other, double t) => FPopoverStyle(
decoration: BoxDecoration.lerp(decoration, other.decoration, t) ?? decoration,
barrierFilter: t < 0.5 ? barrierFilter : other.barrierFilter,
backgroundFilter: t < 0.5 ? backgroundFilter : other.backgroundFilter,
viewInsets: EdgeInsetsGeometry.lerp(viewInsets, other.viewInsets, t) ?? viewInsets,
);