PhotoVideoSwap constructor
const
PhotoVideoSwap({
- Key? key,
- required bool isPhoto,
- required ValueChanged<
bool> onChanged,
Creates the switch.
Implementation
const PhotoVideoSwap({
super.key,
required this.isPhoto,
required this.onChanged,
});