F'Flutter, tutto hu widget — elementi tal-UI (buttons, test, immaġini), strutturi tal-layout (rows, columns, padding), u anke l-app innifsu huma kollha widgets. Widgets huma blokki immutable li jikomponu biex jiffurmaw l-intera interface tal-utent.
Kollha hu widget
Widgets describe the UI. EVERYTHING is a widget:
→ visible elements: Text, Image, Icon, Button, etc.
→ layout: Row, Column, Container, Padding, Center, Stack, etc.
→ structure: Scaffold (page structure), AppBar, etc.
→ even the app itself (MaterialApp) and abstract things (Padding, Theme)
→ You build UI by COMPOSING widgets into a tree (widgets contain other widgets).
