DefaultItemDelegate class
Default item delegate with simple rendering.
- Implemented types
Constructors
- DefaultItemDelegate({Style? normalStyle, Style? selectedStyle, Style? matchedStyle})
- Creates a default item delegate.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Height of each list item in lines.
no setteroverride
- matchedStyle → Style
-
Style for matched characters in filtered items.
final
- normalStyle → Style
-
Style for normal items.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedStyle → Style
-
Style for selected item.
final
- spacing → int
-
Spacing between items in lines.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
ListModel model, int index, ListItem item) → String -
Render the item at the given index.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Msg msg, ListModel model) → Cmd? -
Handle update messages for items.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited