NeoThemeToggle constructor

const NeoThemeToggle({
  1. Key? key,
  2. required bool isDark,
  3. required ValueChanged<bool> onChanged,
  4. double width = 124,
  5. double height = 56,
  6. Color? backgroundColor,
})

Implementation

const NeoThemeToggle({
  super.key,
  required this.isDark,
  required this.onChanged,
  this.width = 124,
  this.height = 56,
  this.backgroundColor,
});