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
