Bug: Render OverFlow Error in Intro page 1 and 3

Đang mở
#264 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@ObaidAbdullah16 đang làm issue này rồi.

Từ ngày 4/4/2026.

  • #267 của @ObaidAbdullah16 — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
dart
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu với lib/Components/onboarding/components/onboard_page.dart và tái hiện lỗi tràn trên Flutter 3.35.6 ở tất cả các slide onboarding. Sau đó, kiểm tra các cách sử dụng đã lỗi thời của bodyText1, accentColor và uni_links, cùng với phần thay thế app_links. Công việc được coi là hoàn tất khi dự án build được trên Flutter SDK ổn định mới nhất và văn bản onboarding được render mà không bị tràn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Dart
Star
102
Fork
119
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CCExtractor/Flood_Mobile

Tất cả issue của CCExtractor/Flood_Mobile

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.