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