lerp method

  1. @useResult
FBreadcrumbStyle lerp(
  1. FBreadcrumbStyle other,
  2. double t
)

Linearly interpolate between this and another FBreadcrumbStyle using the given factor t.

Implementation

@useResult
FBreadcrumbStyle lerp(FBreadcrumbStyle other, double t) => FBreadcrumbStyle(
  textStyle: FWidgetStateMap.lerpTextStyle(textStyle, other.textStyle, t),
  iconStyle: IconThemeData.lerp(iconStyle, other.iconStyle, t),
  padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
  tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
  focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
);