$FSidebarItemStyleTransformations extension

Provides copyWith and lerp methods.

on

Methods

copyWith({FWidgetStateMap<TextStyle>? textStyle, double? iconSpacing, FWidgetStateMap<IconThemeData>? iconStyle, double? collapsibleIconSpacing, FWidgetStateMap<IconThemeData>? collapsibleIconStyle, double? childrenSpacing, EdgeInsetsGeometry? childrenPadding, FWidgetStateMap<Color>? backgroundColor, EdgeInsetsGeometry? padding, BorderRadius? borderRadius, FTappableStyle tappableStyle(FTappableStyle style)?, FFocusedOutlineStyle focusedOutlineStyle(FFocusedOutlineStyle style)?, FSidebarItemMotion motion(FSidebarItemMotion motion)?}) FSidebarItemStyle

Available on FSidebarItemStyle, provided by the $FSidebarItemStyleTransformations extension

Returns a copy of this FSidebarItemStyle with the given properties replaced.
lerp(FSidebarItemStyle other, double t) FSidebarItemStyle

Available on FSidebarItemStyle, provided by the $FSidebarItemStyleTransformations extension

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