SettingsWidgetBase<T> constructor

SettingsWidgetBase<T>({
  1. Key? key,
  2. String? settingsKey,
  3. required String title,
  4. T? defaultValue,
  5. String? subtitle,
  6. bool enabled = true,
  7. SettingChangedCallback<T>? onChanged,
  8. Widget? leading,
})

Implementation

SettingsWidgetBase({
  Key? key,
  this.settingsKey,
  required this.title,
  this.defaultValue,
  this.subtitle,
  this.enabled = true,
  this.onChanged,
  this.leading
}) : super(key: key);