Flutter layout widgets کو compose کر کے layouts بناتا ہے — جیسے Row، Column، Container، Stack، اور دوسرے — جو اپنے children کو ترتیب دیتے ہیں۔ ان layout widgets کو سمجھنا اور یہ جاننا کہ یہ کیسے combine ہوتے ہیں، UI structures بنانے کے لیے بنیادی ہے۔
Core layout widgets
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
