Bug: Render OverFlow Error in Intro page 1 and 3

Abierto
#264 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@ObaidAbdullah16 ya está trabajando en esto.

Desde el 4/4/2026.

  • #267 de @ObaidAbdullah16 — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
dart
Área
mobile

Línea de trabajo

Comienza con lib/Components/onboarding/components/onboard_page.dart y reproduce el desbordamiento en Flutter 3.35.6 en todas las diapositivas de onboarding. Después, inspecciona los usos obsoletos de bodyText1, accentColor y uni_links, así como el reemplazo app_links. Se considera terminado cuando el proyecto se compila con la versión estable más reciente del Flutter SDK y el texto de onboarding se renderiza sin desbordamiento.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Description
When launching the application, the Onboarding screen displays a "RenderFlex overflowed by 18 pixels" error on the bottom text container. This occurs because the text description area has a fixed height constraint that doesn't accommodate the content on all screen sizes or font scalings.

Additionally, the project fails to build on modern Flutter versions (Flutter 3.x / Dart 3) due to the use of deprecated APIs (e.g., bodyText1, accentColor, uni_links).

To Reproduce
Steps to reproduce the behavior:

  1. Launch the Flood Mobile app.
  2. Land on the first Onboarding screen ("Insight").
  3. Observe the yellow and black striped error bar at the bottom of the text description area.
  4. Swipe to the next slides to see similar overflow issues.

Expected behavior
The onboarding text should render fluidly without overflow errors, adapting to the available screen space. The application should also build and run successfully on the latest stable Flutter SDK.

Device Information:

  • OS: Android / Linux (Tested on Flutter 3.35.6)

Additional context

  • The overflow was caused by a hardcoded height: 250 in lib/Components/onboarding/components/onboard_page.dart.
  • The build issues were caused by breaking changes in Dart 3 (Null Safety and Material 3 migrations).
  • uni_links was causing build failures and has been replaced with app_links.

**Are you working on this issue? (Yes/No)**Describe the bug
When launching the application, the Onboarding screen displays a "RenderFlex overflowed by 18 pixels" error on the bottom text container. This occurs because the text description area has a fixed height constraint that doesn't accommodate the content on all screen sizes or font scalings.

Additionally, the project fails to build on modern Flutter versions (Flutter 3.x / Dart 3) due to the use of deprecated APIs (e.g., bodyText1, accentColor, uni_links).

To Reproduce
Steps to reproduce the behavior:

  1. Launch the Flood Mobile app.
  2. Land on the first Onboarding screen ("Insight").
  3. Observe the yellow and black striped error bar at the bottom of the text description area.
  4. Swipe to the next slides to see similar overflow issues.

Expected behavior
The onboarding text should render fluidly without overflow errors, adapting to the available screen space. The application should also build and run successfully on the latest stable Flutter SDK.

Device Information:

  • OS: Android / Linux (Tested on Flutter 3.35.6)

Additional context

  • The overflow was caused by a hardcoded height: 250 in lib/Components/onboarding/components/onboard_page.dart.
  • The build issues were caused by breaking changes in Dart 3 (Null Safety and Material 3 migrations).
  • uni_links was causing build failures and has been replaced with app_links.

Are you working on this issue? (Yes/No)
Yes

Lenguaje dominante
Dart
Estrellas
102
Forks
119
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CCExtractor/Flood_Mobile

Todos los issues de CCExtractor/Flood_Mobile

Issues similares

Más issues de Dart

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.