Description
I've recently been working on an internationalization project to support the Russian language, Portuguese. The words in Russian are longer as shown in the image and cause the error “A RenderFlex overflowed”.
The problem with the image
Message error
The following assertion was thrown during layout:
A RenderFlex overflowed by 66 pixels on the right.
The relevant error-causing widget was:
Row Row:file:///C:/Users/example/AppData/Local/Pub/Cache/hosted/pub.dev/google_nav_bar-5.0.7/lib/src/gnav.dart:94:16
The overflowing RenderFlex has an orientation of Axis.horizontal.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex.