MultiSelectListPreference constructor

MultiSelectListPreference(
  1. String title,
  2. String localKey, {
  3. String? summary,
  4. String? dialogMessage,
  5. List<String>? defaultEntries,
  6. List<String>? defaultEntryValues,
  7. Widget? leading,
  8. Widget? trailing,
  9. double listHeight = 220,
  10. bool enabled = true,
  11. bool barrierDismissible = true,
  12. bool resetOnException = true,
  13. String acceptText = "ACCEPT",
  14. String cancelText = "CANCEL",
  15. List<String>? entries,
  16. List<String>? entryValues,
  17. dynamic onValidate(
    1. List<String>? value
    )?,
  18. dynamic onSave(
    1. List<String>? value
    )?,
  19. double? textScaleFactor,
})

Implementation

MultiSelectListPreference(
  this.title,
  this.localKey, {
  this.summary,
  this.dialogMessage,
  this.defaultEntries,
  this.defaultEntryValues,
  this.leading,
  this.trailing,
  this.listHeight = 220,
  this.enabled = true,
  this.barrierDismissible = true,
  this.resetOnException = true,
  this.acceptText = "ACCEPT",
  this.cancelText = "CANCEL",
  this.entries,
  this.entryValues,
  this.onValidate,
  this.onSave,
  this.textScaleFactor,
});