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
    )?,
  7. Color? labelColor,
  8. Color? activeThumbColor,
  9. Color? inactiveThumbColor,
})

Implementation

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