TextFieldData<Model> constructor

TextFieldData<Model>({
  1. required bool onSearch(
    1. String? pattern,
    2. Model? element
    ),
  2. TextEditingController? controller,
  3. String? title,
  4. Widget? prefixIcon,
  5. Widget? suffixIcon,
  6. double? borderRadius,
  7. Color? borderColor,
  8. EdgeInsetsGeometry? contentPadding,
  9. Color? fillColor,
  10. int? maxLength,
  11. TextStyle? style,
})

main constructor for TextFieldData

Implementation

TextFieldData({
  required this.onSearch,
  this.controller,
  this.title,
  this.prefixIcon,
  this.suffixIcon,
  this.borderRadius,
  this.borderColor,
  this.contentPadding,
  this.fillColor,
  this.maxLength,
  this.style,
});