StandardSwitchCardElement constructor
StandardSwitchCardElement({
- required String cardLabel,
- required VoidCallback onEnable,
- required VoidCallback onDisable,
- bool isSwitchEnabled = false,
Implementation
StandardSwitchCardElement({
required this.cardLabel,
required this.onEnable,
required this.onDisable,
this.isSwitchEnabled = false,
});