SwitchPreferenceTile constructor

const SwitchPreferenceTile({
  1. Key? key,
  2. required Widget title,
  3. required bool currentValue,
  4. SettingsUpdateCallback? onUpdate,
})

Implementation

const SwitchPreferenceTile({
  super.key,
  required this.title,
  required this.currentValue,
  this.onUpdate,
});