Home > Back-end >  Flutter appbar overflow
Flutter appbar overflow

Time:11-26

Im following a turtorial on flutter but i get a overflow error on the appbar in my emulator. The appbar worked fine when only the PopupMenyButton was there. Then I added this custom badge-widget, which returns a stack-widget on the appbar. I think somehow the stack-widget (Badge) overfloows the appbar, but i cant figure out how I can constrain it.

Error message:
Exception caught by rendering library ═════════════════════════════════
A RenderFlex overflowed by 99655 pixels on the right.

Emulator

  • Related