TextFieldPreference constructor
TextFieldPreference(
- String title,
- String localKey, {
- String? summary,
- String? summaryPrefix,
- String? summarySuffix,
- String? dialogMessage,
- TextInputType textInputType = TextInputType.text,
- String? defaultValue,
- int? maxLength,
- String? labelText,
- String? hintText,
- Widget? leading,
- Widget? trailing,
- bool enabled = true,
- bool useValueAsSummary = false,
- bool useValueAsSummaryPrefix = false,
- bool useValueAsSummarySuffix = false,
- bool barrierDismissible = true,
- bool resetOnException = true,
- String acceptText = "ACCEPT",
- String cancelText = "CANCEL",
- dynamic onValidate(
- AdeptTextEditingController controller
- dynamic onSave(
- String value
- 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,
});