BrightnessSwitcherDialog constructor
const
BrightnessSwitcherDialog({
- Key? key,
- required ValueChanged<
Brightness> onSelectedTheme, - bool activeToggleMode = true,
- bool activeColor = false,
- String textTitle = 'Select Theme',
- String textDarkMode = 'Dark Mode',
- String textLightMode = 'Light Mode',
Implementation
const BrightnessSwitcherDialog({ Key? key, required this.onSelectedTheme,
this.activeToggleMode:true,
this.activeColor:false,
this.textTitle:'Select Theme',
this.textDarkMode:'Dark Mode',
this.textLightMode:'Light Mode'})
: super(key: key);