TextFieldClearable constructor

TextFieldClearable({
  1. @required String? label,
  2. @required bool? readOnly,
  3. @required bool? enabled,
  4. String? helperHint,
  5. ValueChanged<String>? onChanged,
  6. List<TextInputFormatter>? inputFormatters,
  7. AutovalidateMode? autovalidateMode,
  8. int? maxlength,
  9. int? maxLines = 1,
  10. TextInputType? keyboardType,
  11. String? validator(
    1. String?
    )?,
  12. bool enableSuggestions = false,
  13. TextEditingController? textCtrl,
})

Implementation

TextFieldClearable(
    {@required this.label,
    @required this.readOnly,
    @required this.enabled,
    this.helperHint,
    this.onChanged,
    this.inputFormatters,
    this.autovalidateMode,
    this.maxlength,
    this.maxLines = 1,
    this.keyboardType,
    this.validator,
    this.enableSuggestions = false,
    this.textCtrl});