AdwSwitchRow constructor

const AdwSwitchRow({
  1. Key? key,
  2. Widget? start,
  3. required bool value,
  4. required ValueSetter<bool> onChanged,
  5. required String title,
  6. String? subtitle,
  7. double horizontalTitleGap = 8,
  8. bool autofocus = false,
  9. bool enabled = true,
  10. EdgeInsets? contentPadding,
})

Implementation

const AdwSwitchRow({
  Key? key,
  this.start,
  required this.value,
  required this.onChanged,
  required this.title,
  this.subtitle,
  this.horizontalTitleGap = 8,
  this.autofocus = false,
  this.enabled = true,
  this.contentPadding,
}) : super(key: key);