SearchFieldDecoration class
Represents the decoration for the search field in the dropdown.
Constructors
- SearchFieldDecoration({String hintText = 'Search', InputBorder? border = const OutlineInputBorder(borderSide: BorderSide(color: Color(0xFFE0E0E0)), borderRadius: BorderRadius.all(Radius.circular(12))), InputBorder? focusedBorder = const OutlineInputBorder(borderSide: BorderSide(color: Colors.grey), borderRadius: BorderRadius.all(Radius.circular(12))), Icon searchIcon = const Icon(Icons.search)})
-
Creates a new instance of SearchFieldDecoration.
const
Properties
- border → InputBorder?
-
The border of the search field.
final
- focusedBorder → InputBorder?
-
The border of the search field when it is focused.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String
-
The hint text to display in the search field.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchIcon → Icon
-
The icon to display in the 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