Listviews & adapters

What is the alternative to a ListView in Flutter?

The equivalent to a ListView in Flutter is … a ListView!

In an Android ListView, you create an adapter and pass it into the
ListView, which renders each row with what your adapter returns. However, you
have to make sure you recycle your rows, otherwise, you get all sorts of crazy
visual glitches and memory issues.

Due to Flutter’s immutable widget pattern, you pass a list of
widgets to your ListView, and Flutter takes care of making sure
that scrolling is fast and smooth.

How do I know which list item is clicked on?

In Android, the ListView has a method to find out which item was clicked,
‘onItemClickListener’.
In Flutter, use the touch handling provided by the passed-in widgets.

How do I update ListView’s dynamically?

On Android, you update the adapter and call notifyDataSetChanged.