3

I have some widgets inside of a fixed size SizedBox. These widgets don't overflow the SizedBox.

However, when I'm running tests, they do overflow, and the tests fail. I guess this is because tests don't really have fonts, and they estimate the space the fonts occupy. It estimates wrong and it overflows. How can I turn off the overflow error when testing?

MarcG
  • 25,541
  • 18
  • 100
  • 118
  • 1
    https://stackoverflow.com/questions/53847569/how-specify-window-for-tests/53847974#53847974 mentions a few things that might be relevant. Screen size, font, ... – Günter Zöchbauer Dec 20 '18 at 06:08

0 Answers0