$FSwitchStyleTransformations extension

Provides copyWith and lerp methods.

on

Methods

copyWith({Color? focusColor, FWidgetStateMap<Color>? trackColor, FWidgetStateMap<Color>? thumbColor, EdgeInsetsGeometry? labelPadding, EdgeInsetsGeometry? descriptionPadding, EdgeInsetsGeometry? errorPadding, EdgeInsetsGeometry? childPadding, FWidgetStateMap<TextStyle>? labelTextStyle, FWidgetStateMap<TextStyle>? descriptionTextStyle, TextStyle? errorTextStyle}) FSwitchStyle

Available on FSwitchStyle, provided by the $FSwitchStyleTransformations extension

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

Available on FSwitchStyle, provided by the $FSwitchStyleTransformations extension

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