BrightnessSwitcherDialog constructor

const BrightnessSwitcherDialog({
  1. Key? key,
  2. required ValueChanged<Brightness> onSelectedTheme,
  3. bool activeToggleMode = true,
  4. bool activeColor = false,
  5. String textTitle = 'Select Theme',
  6. String textDarkMode = 'Dark Mode',
  7. 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);