A RenderFlex overflowed by pixels on the bottom

A RenderFlex overflowed by 120 pixels on the bottom.

Quick Answer

A Column has more children than the screen can fit vertically.

Why This Happens

In Flutter, this occurs when children in a Column exceed the vertical space available. Unlike a scrollable list, Column tries to lay out all children at once. Wrapping the Column in a SingleChildScrollView or using a ListView makes the content scrollable.

The Problem

Column(
  children: [
    Container(height: 300, color: Colors.red),
    Container(height: 300, color: Colors.blue),
    Container(height: 300, color: Colors.green),
  ],
)

The Fix

SingleChildScrollView(
  child: Column(
    children: [
      Container(height: 300, color: Colors.red),
      Container(height: 300, color: Colors.blue),
      Container(height: 300, color: Colors.green),
    ],
  ),
)

Step-by-Step Fix

  1. 1

    Identify the error

    Look at the error message: A RenderFlex overflowed by X pixels on the bottom. This indicates vertical overflow in a Column.

  2. 2

    Find the cause

    Check the Column widget to see if the combined height of its children exceeds the screen or parent height.

  3. 3

    Apply the fix

    Wrap the Column in a SingleChildScrollView or replace it with a ListView to enable scrolling.

Bugsly catches this automatically

Bugsly's AI analyzes this error pattern in real-time, explains what went wrong in plain English, and suggests the exact fix — before your users even report it.

Try Bugsly free