SettingsSwitchTile constructor

const SettingsSwitchTile({
  1. Key? key,
  2. required String title,
  3. required Function onChanged,
  4. required bool value,
  5. Icon? icon,
  6. Color? activeColor,
  7. Color? trackColor,
  8. Color? thumbColor,
})

Implementation

const SettingsSwitchTile({
  Key? key,
  required this.title,
  required this.onChanged,
  required this.value,
  this.icon,
  this.activeColor,
  this.trackColor,
  this.thumbColor,
}) : super(key: key);