childExistsAt method Null safety

  1. @override
bool childExistsAt(
  1. int index
)
override

Checks whether the delegate is able to provide a child widget at the given index.

This function is not about whether the child at the given index is attached to the RenderListWheelViewport or not.

Implementation

@override
bool childExistsAt(int index) => retrieveWidget(index) != null;