BrightnessWrapper constructor

const BrightnessWrapper({
  1. required Widget lightThemeChild,
  2. required Widget darkThemeChild,
  3. Key? key,
})

Creates a new instance of BrightnessWrapper. The lightThemeChild, and darkThemeChild arguments must not be null.

Implementation

const BrightnessWrapper({
  required this.lightThemeChild,
  required this.darkThemeChild,
  super.key,
});