If true, renders a toggle switch (.form-switch) instead of a checkbox.
.form-switch
final bool isSwitch;