ListHeaderItem class

Header Item

Inheritance

Constructors

ListHeaderItem(String heading)
Constructs a new ListHeaderItem

Properties

hashCode int
The hash code for this object.
no setterinherited
heading String
Heading used to build the item.
final
key String?
Unique key per list item
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when({required Widget headerItem(String heading), required Widget userItem(User user)}) Widget
Helper function to build widget based on ListItem type
inherited

Operators

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