NiceToggle constructor

const NiceToggle({
  1. Key? key,
  2. required bool value,
  3. String? label,
  4. bool enabled = true,
  5. ValueChanged<bool>? onChanged,
})

Implementation

const NiceToggle({
  super.key,
  required this.value,
  this.label,
  this.enabled = true,
  this.onChanged,
});