SearchFieldDecoration class

Constructors

SearchFieldDecoration({Color? fillColor, BoxConstraints? constraints, EdgeInsetsGeometry? contentPadding, TextStyle? textStyle, TextStyle? hintStyle, Widget? prefixIcon, Widget suffixIcon(VoidCallback onClear)?, InputBorder? border, InputBorder? focusedBorder})
const

Properties

border InputBorder?
Border for DropdownFlutter search field.
final
constraints BoxConstraints?
Layout constraints for DropdownFlutter search field.
final
contentPadding EdgeInsetsGeometry?
Content spacing for DropdownFlutter search field.
final
fillColor Color?
Fill color for DropdownFlutter search field.
final
focusedBorder InputBorder?
Focused border for DropdownFlutter search field.
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
Hint text style for DropdownFlutter search field.
final
prefixIcon Widget?
Icon (before the text area) for DropdownFlutter search field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixIcon Widget Function(VoidCallback onClear)?
Icon (after the text area) for DropdownFlutter search field. "onClear" callback can be used to clear typed text appearing on search field.
final
textStyle TextStyle?
Text Style (text being edited) for DropdownFlutter search field.
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