File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -27,19 +27,18 @@ Overflow errors typically happen due to one or more of the following reasons:
2727
2828### Fixing Renderflex Overflow Errors
2929
30- #### Fix Manually
30+ ** Fix Manually**
31+
3132Here are some quick tips to fix overflow errors manually:
3233
3334- Use ** ` Expanded ` ** or ** ` Flexible ` ** widgets to make child widgets adapt to available space.
3435- Wrap overflowing content in a ** ` SingleChildScrollView ` ** to make it scrollable.
3536- Use ** ` TextOverflow.ellipsis ` ** or ` maxLines ` for long text content.
3637- Avoid fixed widths/heights; use responsive layout helpers like ` MediaQuery ` or ` LayoutBuilder ` .
3738
38- #### Fix with Agent
39-
40- Dreamflow’s Agent can help you quickly identify and fix overflow errors.
39+ ** Fix with Agent**
4140
42- ** Here’s how to use it:**
41+ Dreamflow’s Agent can help you quickly identify and fix overflow errors. Here’s how to use it:
4342
44431 . [ ** Take a screenshot** ] ( ../workspace/agent-panel.md#screenshot-mode ) of your app preview showing the overflow error (yellow/black bars).
45442 . ** Describe the issue to the Agent.** Here’s an example prompt:
You can’t perform that action at this time.
0 commit comments