← Flutter & Dart learning pathFlutter & Dart · Module 5 of 10
Lists, input and forms
Display lists and collect user input.
📖 Key ideas
- ListView.builder renders long lists efficiently.
- TextField and TextFormField capture input.
- Form with GlobalKey<FormState> validates fields.
- Buttons: ElevatedButton, TextButton, IconButton.
- GestureDetector/InkWell detect taps.
💡 Real-life example: ListView.builder is a conveyor belt: only items on screen are built, not the whole warehouse.
ListView.builderLazily builds list items
TextFormFieldInput with validation
GlobalKeyKey to access form state
InkWellTap effect widget