TeamAllianceSwitch constructor
- {Key? key,
- required void onChanged(
- TeamAlliance alliance
- bool initialValue = false}
Implementation
const TeamAllianceSwitch({
super.key,
required this.onChanged,
this.initialValue = false, // false = red, true = blue
});