Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address Flutter 3.24 breaking changes & requirements #903

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erdemyerebasmaz
Copy link
Collaborator

This PR addresses breaking changes introduced in Flutter 3.24 & not so well documented parts; re: resource linking failures on android:lStar which requires Kotlin upgrade.

More can be found here: Flutter 3.24 release notes.

Changelist

  • Update SDK ranges
    • Dart >= 3.5.0
    • Flutter >= 3.24.0
  • Update dependencies to latest version
  • Update Kotlin to latest, 2.0.10
    • @@ Make flutter tool enforce >= kotlin 1.7.0, Gradle 7.0.2, and AGP 7.0.0, and Fix test failures blocking androidx upgrade
  • Address linter warnings
    • Replace onPopInvoked with onPopInvokedWithResult
      • @@ add a new PopScope.onPopWithResultInvoke widget to replace PopScope.onPopInvoke
    • Addressed use_build_context_synchronously linter warnings
      • @@ Tweak to fix context.mounted in dialog_demo
  • @@ [iOS] Migrate @UIApplicationMain attribute to @main

- Update Kotlin to latest
  - Make flutter tool enforce >= kotlin 1.7.0, Gradle 7.0.2, and AGP 7.0.0, and Fix test failures blocking androidx upgrade
- [iOS] Migrate @UIApplicationMain attribute to @main

- Address linter warnings
  - add a new PopScope.onPopWithResultInvoke widget to replace PopScope.onPopInvoke
  - Tweak to fix context.mounted in dialog_demo
@erdemyerebasmaz erdemyerebasmaz changed the title Flutter 3.24 requirements Address Flutter 3.24 breaking changes & requirements Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant