Flutter Reusable Widgets

How to make a reusable Flutter widget context-agnostic so it does not break the layout under some parents. Use when authoring or refactoring a shared / library widget, or when debugging layout errors like `Incorrect use of ParentDataWidget`, `RenderFlex children have non-zero flex but incoming constraints are unbounded`, `Vertical viewport was given unbounded height`, or `BoxConstraints forces an infinite width/height`.

dtussupbayev ae88749 6.2 KB Updated

File contents

dtussupbayev/flutter-agentic-skills/tree/main/skills/flutter-reusable-widgets commit ae88749010

Frequently asked questions

npx skillmds@latest add dtussupbayev/flutter-reusable-widgets