SwitchComponent constructor

SwitchComponent(
  1. VoidCallback? onEnable,
  2. VoidCallback? onDisable, {
  3. bool isSwitchEnabled = false,
})

Implementation

SwitchComponent(
  this.onEnable,
  this.onDisable, {
  this.isSwitchEnabled = false,
});