SwitchComponent constructor
SwitchComponent(
- VoidCallback? onEnable,
- VoidCallback? onDisable, {
- bool isSwitchEnabled = false,
Implementation
SwitchComponent(
this.onEnable,
this.onDisable, {
this.isSwitchEnabled = false,
});