SettingsTile.switchTile constructor
SettingsTile.switchTile({})
Implementation
SettingsTile.switchTile({
required this.initialValue,
required this.onToggle,
this.activeSwitchColor,
this.leading,
this.trailing,
required this.title,
this.description,
this.onPressed,
this.enabled = true,
Key? key,
}) : super(key: key) {
value = null;
tileType = SettingsTileType.switchTile;
}