ListWheelChildDelegate class Null safety
A delegate that supplies children for ListWheelScrollView.
ListWheelScrollView 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 ListWheelScrollView during that stage.
BuildContext context, int index) → Widget?
- Return the child at the given index. If the child at the given index does not exist, return null.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
covariant ListWheelChildDelegate oldDelegate) → bool
- Called to check whether this and the old delegate are actually 'different', so that the caller can decide to rebuild or not.
) → String
A string representation of this object. [...]
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. [...]