BrightnessSwitch constructor

const BrightnessSwitch({
  1. Key? key,
  2. required dynamic onChanged(
    1. bool
    ),
  3. required bool value,
})

Implementation

const BrightnessSwitch(
    {super.key, required this.onChanged, required this.value});