Show I let RenderFlex overflowed unhandled?

230

No.

These 🚧 are there for a reason. Flutter is not like HTML, you should never have overflow. If you have some, it's a bug and needs to be fixed. Same goes for failing asserts. They'll work in release mode, but that's still a bug.

If you want to have an overflow, consider using OverflowBox instead

Share:
230
Kyaw Tun
Author by

Kyaw Tun

Solving database driven client web app.

Updated on December 03, 2022

Comments

  • Kyaw Tun
    Kyaw Tun over 1 year

    In Flutter Widget, sometimes layout overflow cause exception in debug mode and show like 🚧🚧🚧🚧 with number pixel overflow. In release mode, it looks fine.

    Should I leave such layout overflow?