What is the ListView widget?
Why Interviewers Ask This
Foundational questions like this help interviewers calibrate the rest of the interview. A confident, accurate answer signals that you have solid Flutter basics — a prerequisite for any developer role.
Answer
ListView is a scrollable list of widgets arranged linearly. For short, static lists, use ListView(children: [...]). For large or infinite lists, use ListView.builder(), which lazily builds only the widgets currently visible on screen — significantly improving performance and memory usage. ListView.separated() adds a separator widget between items, and ListView.custom() provides full control over the building behavior.
Pro Tip
Demonstrate both theoretical understanding and practical experience. Say what it is, then give an example of how you actually used it in a Flutter codebase.