measureItems method
Future<_Measure>
measureItems(
- _Cancelled? cancelled,
- int count,
- IndexedWidgetBuilder builder, [
- double startingSize = 0,
- int startingCount = 0,
Measures the size of a bunch of off-list children up to count
elements.
You have to provide a builder
to build the i
-th widget.
The calculation is asynchronous and can be cancelled
.
Implementation
@override
Future<_Measure> measureItems(
_Cancelled? cancelled, int count, IndexedWidgetBuilder builder,
[double startingSize = 0, int startingCount = 0]) async {
return await renderObject.measureItems(
cancelled, count, builder, startingSize, startingCount);
}