keepPreviousData property

bool keepPreviousData
final

If true, keeps showing the data from the previous query instance (if available) while the new query is loading.

Useful for pagination to prevent "flash of loading" when key changes.

Implementation

final bool keepPreviousData;