ThemeSwitchToggleButton constructor

const ThemeSwitchToggleButton({
  1. Key? key,
  2. IconData? enabledIcon,
  3. IconData? disabledIcon,
  4. Color? enabledIconColor,
  5. Color? disabledIconColor,
  6. void onToggle(
    1. bool isDark
    )?,
})

Implementation

const ThemeSwitchToggleButton({
  super.key,
  this.enabledIcon,
  this.disabledIcon,
  this.enabledIconColor,
  this.disabledIconColor,
  this.onToggle,
});