Switch constructor
const
Switch({
- Key? key,
- required bool value,
- required ValueChanged<
bool> ? onChanged, - String? semanticLabel,
Implementation
const Switch({
super.key,
required this.value,
required this.onChanged,
this.semanticLabel,
});