Skip to content

Solve the “A RenderFlex overflowed” problem caused by the internationalization of the flutter. #110

@sedrac-slc

Description

@sedrac-slc

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions