ThemeToggleButton constructor

const ThemeToggleButton({
  1. Key? key,
  2. bool isIconButton = true,
  3. IconData? lightModeIcon,
  4. IconData? darkModeIcon,
  5. String? tooltip,
})

Creates a new ThemeToggleButton widget.

Implementation

const ThemeToggleButton({
  super.key,
  this.isIconButton = true,
  this.lightModeIcon,
  this.darkModeIcon,
  this.tooltip,
});