CircleListChildDelegate class abstract

A delegate that supplies children for CircleListScrollView.

CircleListScrollView lazily constructs its children during layout to avoid creating more children than are visible through the Viewport. This delegate is responsible for providing children to CircleListScrollView during that stage.

See also:

Implementers

Constructors

CircleListChildDelegate()

Properties

estimatedChildCount int?
Returns an estimate of the number of children this delegate will build.
no setter
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(BuildContext context, int index) Widget?
Return the child at the given index. If the child at the given index does not exist, return null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant CircleListChildDelegate oldDelegate) bool
Called to check whether this and the old delegate are actually 'different', so that the caller can decide to rebuild or not.
toString() String
A string representation of this object.
inherited
trueIndexOf(int index) int
Returns the true index for a child built at a given index. Defaults to the given index, however if the delegate is ListWheelChildLoopingListDelegate, this value is the index of the true element that the delegate is looping to.

Operators

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