SwitchTypeExtension extension

Enum extension to map the given SwitchType to its corresponding switch widget. Default is CustomSwitch.

on

Methods

widget(Color? activeColor, Color? inactiveColor, ValueChanged<bool> onChanged, bool value) Widget