ToggleSwitch constructor

const ToggleSwitch(
  1. FormControls element, {
  2. Key? key,
})

Implementation

const ToggleSwitch(this.element, {Key? key}) : super(key: key);