SwitchCell constructor

SwitchCell(
  1. bool value,
  2. String title,
  3. SwitchValueChanged onChanged, {
  4. bool isAsync = false,
})

Implementation

SwitchCell(bool value, String title, SwitchValueChanged onChanged,
    {this.isAsync = false})
    : this.isChecked = value,
      this.onChanged = onChanged,
      this.title = title;