initialData property

List<T>? initialData
final

Synchronously fetched data to seed the displayed ListView with. Stream events will be appended to initialData.

This is especially useful if you need to rebuild your AsyncListView elsewhere in the widget tree and don't want to re-fetch list elements.

Implementation

final List<T>? initialData;