TextFieldData<Model> class

TextFieldData data class

Constructors

TextFieldData({required bool onSearch(String? pattern, Model? element), TextEditingController? controller, String? title, Widget? prefixIcon, Widget? suffixIcon, double? borderRadius, Color? borderColor, EdgeInsetsGeometry? contentPadding, Color? fillColor, int? maxLength, TextStyle? style})
main constructor for TextFieldData

Properties

borderColor → Color?
border color of the text field Color
final
borderRadius → double?
border radius of the text field double
final
contentPadding → EdgeInsetsGeometry?
content padding of the text field EdgeInsetsGeometry
final
controller → TextEditingController?
controller of the text field TextEditingController
final
fillColor → Color?
fill color of the text field Color
final
hashCode → int
The hash code for this object.
no setterinherited
maxLength → int?
max length of the text field int
final
onSearch → bool Function(String? pattern, Model? element)
on search callback uses when filtering
final
prefixIcon → Widget?
prefix icon of the text field Widget
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → TextStyle?
style of the text field TextStyle
final
suffixIcon → Widget?
suffix icon of the text field Widget
final
title → String?
title of the text field String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited