widgets/switch library Widgets

A control that allows the user to toggle between checked and unchecked.

See https://forui.dev/docs/form/switch for working examples.

Classes

FSwitch
A control that allows the user to toggle between checked and unchecked.
FSwitchStyle
FSwitch's style.
FSwitchStyleDelta
A delta that applies modifications to a FSwitchStyle.

Extension Types

FSwitchVariant
Represents a variant.
FSwitchVariantConstraint
Represents a combination of variants.

Extensions

$FSwitchStyleTransformations on FSwitchStyle
Provides copyWith and lerp methods.