Flutter లేআউట్లను లేআউట్ విడ్జెట్లను కంపోజ్ చేయడం ద్వారా నిర్మిస్తుంది — Row, Column, Container, Stack, మరియు ఇతరాల వంటివి — ఇవి వాటి చిల్డ్రెన్ను అమర్చుతాయి. ఈ లేআউట్ విడ్జెట్లను మరియు ఆ విధంగా ఎలా కలుపుతారో అర్థం చేసుకోవడం UI నిర్మాణాలను సృష్టించటానికి ఫండమెంటల్.
కోర్ లేআউట్ విడ్జెట్లు
ROW → arrange children HORIZONTALLY (left to right)
COLUMN → arrange children VERTICALLY (top to bottom)
CONTAINER → a box: padding, margin, size, color, decoration, alignment (very common)
STACK → overlay children on top of each other (z-axis, positioned)
PADDING → add space around a child
CENTER → center a child
EXPANDED / FLEXIBLE → make children fill available space (in a Row/Column)
SizedBox → fixed-size box / spacing
ListView → scrollable list of children
