lerp method
Linearly interpolate between this and another FPopoverMenuStyle using the given factor t
.
Implementation
@useResult
FPopoverMenuStyle lerp(FPopoverMenuStyle other, double t) => FPopoverMenuStyle(
itemGroupStyle: itemGroupStyle.lerp(other.itemGroupStyle, t),
tileGroupStyle: tileGroupStyle.lerp(other.tileGroupStyle, t),
maxWidth: lerpDouble(maxWidth, other.maxWidth, t) ?? maxWidth,
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,
);