بازگشت به نتایج جستجو

flutter / AGENT SKILL

flutter-building-layouts

فارسی + English

این اسکیل چه می‌کند؟

تسلط بر constraint در Flutter برای layout کارآمد responsive و بدون overflow؛ constraint پایین، size بالا و position با والد. هرگز constraint نامحدود در flex/scroll ندهید؛ Row/Column خطی، Expanded/Flexible توزیع فضا، Stack هم‌پوشانی و SizedBox محدودیت دقیق.

ORIGINAL DESCRIPTION

Master Flutter's constraint system to build responsive, overflow-free layouts efficiently. Core principle: constraints flow down, sizes flow up, parents set position. Never pass unbounded constraints in flex boxes or scrollable regions. Use Row / Column for linear layouts, Expanded / Flexible for space distribution, Stack for overlapping elements, and SizedBox for tight constraints.

چه زمانی به کار می‌آید؟

در دادهٔ اصلی، کاربرد جداگانه‌ای ثبت نشده است. توضیح بالا و صفحهٔ منبع را ببینید.