TUIToggleSwitch constructor

const TUIToggleSwitch({
  1. Key? key,
  2. required bool value,
  3. ValueChanged<bool>? onChanged,
})

Implementation

const TUIToggleSwitch({
  super.key,
  required this.value,
  this.onChanged,
});