ListHeaderItem class Null safety

Header Item

Inheritance

Constructors

ListHeaderItem(String heading)
Constructs a new ListHeaderItem

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
heading String
Heading used to build the item.
final
key String?
Unique key per list item
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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