3. ListView
● It is a widget that is used to display items in a linear manner.
● It has different types of scrolling behaviour.
● It displays its children one after another in either in vertical or horizontal
manner.
5. 1. ListView
1. It is a default constructor that takes list of children.
1. It is appropriate for a small number of children.
1. Use it to display a static list of children whose count does
not change.
7. 2. ListView.builder
1. It takes an IndexedWidgetBuilder, which builds the
children on demand.
1. It is basically used for the list views with large number of
children.
9. 3. ListView.separated
1. It is used to generate the list like others but also here we
can specify the separated widget between each item.
1. It is appropriate for list views with a fixed number of
children.
11. 4. ListView.custom
1. It is used to build ListViews with custom functionality for
the how the children are built.
1. The main parameter required for this is a
SliverChildDelegate which builds the items.