paintExtentOf method
- RenderBox child
override
Returns the dimension of the given child in the main axis, as given by the child's RenderBox.size property. This is only valid after layout.
Implementation
@override
double paintExtentOf(RenderBox child) {
if (itemExtentBuilder == null) {
return itemExtent!;
}
return itemExtentBuilder!(indexOf(child), layoutDimensions)!;
}