ListViewComponent class
Defines a Widget builder that returns a Widget that acts as a scrollable list populated by ListViewComponentData.itemBuilder.
Example
ListViewComponent(
builder: (ListViewComponentData data)
{
return ListView.builder(
itemBuilder: data.itemBuilder,
itemCount: data.itemCount,
}
);
See ComponentsConfiguration for more details.
See Also:
- Implementers
Constructors
- ListViewComponent({ListViewBuilder? builder})
- See ListViewBuilder.
Properties
- builder ↔ ListViewBuilder?
-
A builder method to create the Widget that acts as a scrollable list,
populated by ListViewComponentData.itemBuilder.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
ListViewComponentData data) → Widget - The method uses the ListViewComponent.builder method to actually build the Widget.
-
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