ListView
The ListView widget is used to display a scrollable list of widgets. It is highly efficient for displaying long lists of items. The items can be arranged vertically or horizontally.
Data Source
The ListView widget uses a Data Source
to dynamically generate its content. You can input either static data or dynamic data using expressions.
Properties
Controller
An expression to control the scroll position of the list.
Allow Scroll
If true
, the list will be scrollable.
Shrink Wrap
If true
, the extent of the scroll view in the scroll direction is determined by the size of the children.
Scroll Direction
The direction in which the list scrolls. Can be Vertical
or Horizontal
.
Reverse
If true
, the list scrolls in the opposite direction.
Initial Scroll Position
The initial position of the scroll view. Can be Start
or End
.
Default Properties
The ListView widget supports all Default Properties.
Last updated