Paginated ListView
The Paginated ListView is a specialized list view that can load its data in pages. This is useful for displaying very large datasets without having to load all the data at once.
Data Source
The Paginated ListView widget can use both static and API data sources:
API Data Source: Configure an API endpoint to fetch paginated data
Data Source: Use static data or expressions for testing purposes
Properties
Allow Scroll
If true
, the list will be scrollable.
Shrink Wrap
If true
, the extent of the scroll view is determined by the size of the children.
Scroll Direction
The direction in which the list scrolls (Vertical
or Horizontal
).
Reverse
If true
, the list scrolls in the opposite direction.
Initial Scroll Position
The initial position of the scroll view (Start
or End
).
Transform Items
An expression to transform the data before it is displayed.
First Page Key
An expression to get the key for the first page of data.
Next Page Key
An expression to get the key for the next page of data.
Progress Indicator Properties
Show First Page Progress Indicator
If true
, a widget is displayed while the first page loads.
Show New Page Progress Indicator
If true
, a widget is displayed while subsequent pages load.
Children of Paginated ListView
children
The widget to use as a template for each item in the list.
firstPageLoadingIndicator
A widget to display while the first page of data is loading.
newPageLoadingIndicator
A widget to display while subsequent pages of data are loading.
Default Properties
The Paginated ListView widget supports all Default Properties.
Last updated