$FSwitchStyleTransformations extension

Provides copyWith and lerp methods.

on

Methods

copyWith({Color? focusColor, FVariantsValueDelta<FSwitchVariantConstraint, FSwitchVariant, Color, Delta>? trackColor, FVariantsValueDelta<FSwitchVariantConstraint, FSwitchVariant, Color, Delta>? thumbColor, FLabelStyleDelta? leadingLabelStyle, FLabelStyleDelta? trailingLabelStyle}) 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.