ListItemDecoration class

Selection, hover, checkbox, and search-match styling for dropdown rows.

Constructors

ListItemDecoration({Color? splashColor, Color? highlightColor, Color? selectedColor, Color? selectedIconColor, BorderSide? selectedIconBorder, OutlinedBorder? selectedIconShape, Color? highlightedColor, TextStyle? searchMatchTextStyle})
Creates styling overrides for dropdown rows.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
highlightColor → Color?
Highlight color for DropdownFlutter list item area.
final
highlightedColor → Color?
Background color of the row highlighted via keyboard navigation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchMatchTextStyle → TextStyle?
Text style applied to the matched substring within search results.
final
selectedColor → Color?
Selected color for DropdownFlutter list item area.
final
selectedIconBorder → BorderSide?
Selected icon border for DropdownFlutter list item area. Useless if DropdownFlutter.listItemBuilder provided.
final
selectedIconColor → Color?
Selected icon color for DropdownFlutter list item area. Useless if DropdownFlutter.listItemBuilder provided.
final
selectedIconShape → OutlinedBorder?
Selected icon shape for DropdownFlutter list item area. Useless if DropdownFlutter.listItemBuilder provided.
final
splashColor → Color?
Splash color for DropdownFlutter list item area.
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