ListWheelChildManager class abstract

A delegate used by RenderListWheelViewport to manage its children.

RenderListWheelViewport during layout will ask the delegate to create children that are visible in the viewport and remove those that are not.

Implementers

Constructors

ListWheelChildManager()

Properties

childCount int?
The maximum number of children that can be provided to RenderListWheelViewport.
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

childExistsAt(int index) bool
Checks whether the delegate is able to provide a child widget at the given index.
createChild(int index, {required RenderBox? after}) → void
Creates a new child at the given index and updates it to the child list of RenderListWheelViewport. If no child corresponds to index, then do nothing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeChild(RenderBox child) → void
Removes the child element corresponding with the given RenderBox.
toString() String
A string representation of this object.
inherited

Operators

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