Flutter'e viskas yra valdiklis — UI elementai (mygtukai, tekstas, nuotraukos), išdėstymo struktūros (eilutės, stulpeliai, tarpai) ir net pati programa yra valdikliai. Valdikliai yra nemutojamai statymo blokai, kurie sujungiami, siekiant sudaryti visą naudotojo sąsają.
Viskas yra valdiklis
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).
