ListWheelChildManager class
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
Properties
- childCount → int
-
The maximum number of children that can be provided to
RenderListWheelViewport. [...]
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
childExistsAt(
int index) → bool - Checks whether the delegate is able to provide a child widget at the given index. [...]
-
createChild(
int index, { 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. [...] -
removeChild(
RenderBox child) → void - Removes the child element corresponding with the given RenderBox.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited