getChildSize method Null safety
- int i
override
The size of the i
th child.
If i
is negative or exceeds childCount, returns null.
Implementation
@override
Size? getChildSize(int i) {
if (i < 0 || i >= _randomAccessChildren.length) {
return null;
}
return _randomAccessChildren[i].size;
}