[FIX] Fixes #264: onboarding overflow + Flutter 3/Dart 3 compatibility#267
Open
ObaidAbdullah16 wants to merge 3 commits intoCCExtractor:masterfrom
Open
[FIX] Fixes #264: onboarding overflow + Flutter 3/Dart 3 compatibility#267ObaidAbdullah16 wants to merge 3 commits intoCCExtractor:masterfrom
ObaidAbdullah16 wants to merge 3 commits intoCCExtractor:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #264
Summary
This PR fixes the onboarding RenderFlex overflow and updates Flood Mobile to build/run on modern Flutter (Flutter 3.x / Dart 3 + Android Gradle Plugin 8) by migrating deprecated APIs, updating dependencies, and adjusting a few widgets/tests for compatibility.
Onboarding overflow fix
height: 250constraint inlib/Pages/onboarding_main_screen/widgets/onboard_page.dartand made the text area flexible/scrollable to prevent RenderFlex overflow on small screens and large font scaling.
Flutter 3 / Dart 3 / AGP 8 compatibility
DropdownButtonFormField2usage with Flutter’s built-inDropdownButtonFormFieldto avoid breaking API differences.l10n.yamlflutter gen-l10nandroid:enableOnBackInvokedCallback="true"in the manifest..gitignoreto avoid committing generated/build artifacts.Tests
SharedPreferences.setMockInitialValues.test/widget_test.dart) which no longer matches the app.Verification
flutter gen-l10nflutter analyzeflutter testflutter run -d emulator-5554