OptimusToggle constructor

const OptimusToggle({
  1. Key? key,
  2. IconData? offIcon,
  3. IconData? onIcon,
  4. bool isChecked = false,
  5. required ValueChanged<bool>? onChanged,
})

Implementation

const OptimusToggle({
  super.key,
  this.offIcon,
  this.onIcon,
  this.isChecked = false,
  required this.onChanged,
});