TextFieldPreference constructor

TextFieldPreference(
  1. String title,
  2. String localKey, {
  3. String? summary,
  4. String? summaryPrefix,
  5. String? summarySuffix,
  6. String? dialogMessage,
  7. TextInputType textInputType = TextInputType.text,
  8. String? defaultValue,
  9. int? maxLength,
  10. String? labelText,
  11. String? hintText,
  12. Widget? leading,
  13. Widget? trailing,
  14. bool enabled = true,
  15. bool useValueAsSummary = false,
  16. bool useValueAsSummaryPrefix = false,
  17. bool useValueAsSummarySuffix = false,
  18. bool barrierDismissible = true,
  19. bool resetOnException = true,
  20. String acceptText = "ACCEPT",
  21. String cancelText = "CANCEL",
  22. dynamic onValidate(
    1. AdeptTextEditingController controller
    )?,
  23. dynamic onSave(
    1. String value
    )?,
  24. double? textScaleFactor,
})

Implementation

TextFieldPreference(
  this.title,
  this.localKey, {
  this.summary,
  this.summaryPrefix,
  this.summarySuffix,
  this.dialogMessage,
  this.textInputType = TextInputType.text,
  this.defaultValue,
  this.maxLength,
  this.labelText,
  this.hintText,
  this.leading,
  this.trailing,
  this.enabled = true,
  this.useValueAsSummary = false,
  this.useValueAsSummaryPrefix = false,
  this.useValueAsSummarySuffix = false,
  this.barrierDismissible = true,
  this.resetOnException = true,
  this.acceptText = "ACCEPT",
  this.cancelText = "CANCEL",
  this.onValidate,
  this.onSave,
  this.textScaleFactor,
});