Exception class Null safety An Exception is intended to convey information to the user about a failure, so that the error can be addressed programmatically . It is intended to be caught, and it should contain useful data fields.
Read moreHow do I fix a RenderFlex overflow Flutter?
How to fix “A RenderFlex overflowed by pixels ” error. To fix A RenderFlex overflowed by pixels you just have to Wrap Image in flex widget Expanded , height available is calculated then shared among Expanded (as constraints) and Image is resized to fit inside Expanded constraints.
Read more