← Flutter & Dart learning path
Flutter & Dart · Module 5 of 10

Lists, input and forms

Display lists and collect user input.

📖 Key ideas

  1. ListView.builder renders long lists efficiently.
  2. TextField and TextFormField capture input.
  3. Form with GlobalKey<FormState> validates fields.
  4. Buttons: ElevatedButton, TextButton, IconButton.
  5. 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