Skip to content

Flutter 3.41 with Dart 3.11#642

Merged
riscait merged 2 commits intomainfrom
flutter-3.41-with-dart-3.10
Feb 14, 2026
Merged

Flutter 3.41 with Dart 3.11#642
riscait merged 2 commits intomainfrom
flutter-3.41-with-dart-3.10

Conversation

@riscait
Copy link
Member

@riscait riscait commented Feb 13, 2026

🔗 Related Issues

  • closes #0

🙌 What's Done

✍️ What's Not Done

🖼️ Image Differences

Before After
image image

🤼 Desired Review Method

  • Correction Commit
  • Pair programming

Note

It is possible that a reviewer's will may cause a method to be implemented that is not selected.

📝 Additional Notes

Pre-launch Checklist

  • I have reviewed my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I updated/added relevant documentation (doc comments with ///).

@riscait riscait requested a review from a team as a code owner February 13, 2026 23:50
@riscait riscait requested review from Copilot and k-nkmr and removed request for a team February 13, 2026 23:50
@riscait riscait self-assigned this Feb 13, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @riscait, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a comprehensive upgrade of the project's core dependencies, moving to Flutter 3.41.1 and Dart 3.11.0. This update necessitated a cascade of package version bumps, particularly visible in pubspec.lock, and included specific adaptations for the iOS build process to ensure compatibility with the newer Flutter version. Additionally, some Dart code was modernized to take advantage of new language features.

Highlights

  • Flutter and Dart SDK Upgrade: The project has been updated to Flutter 3.41.1 and Dart 3.11.0, requiring corresponding adjustments across the codebase.
  • Dependency Updates: Numerous packages in pubspec.lock have been upgraded to their latest compatible versions to align with the new SDKs.
  • iOS Project Configuration: Significant changes were made to the iOS project, including updates to Swift Package Manager resolutions, AppDelegate.swift for implicit engine initialization, and Info.plist for scene manifest.
  • Dart 3.11 Pattern Matching: The ResultExtension in packages/core/utils was refactored to utilize the enhanced pattern matching syntax introduced in Dart 3.11.
  • Monorepo Configuration Streamlining: The pubspec.yaml for the monorepo simplified its workspace definition and updated the melos tool version.
Changelog
  • .fvmrc
    • Updated the Flutter SDK version from "3.38.7" to "3.41.1".
  • .vscode/settings.json
    • Updated the dart.flutterSdkPath to point to the new Flutter version "3.41.1".
  • packages/convenient_widgets/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/core/authenticator/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/core/configurator/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/core/messenger/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/core/tracker/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/core/utils/lib/src/result/result.dart
    • Refactored ResultExtension methods (dataOrNull, errorOrNull, requireData, map, mapAsync, catchError, when, whenOrNull) to use concise Dart 3.11 pattern matching syntax (e.g., Success(:final data)).
  • packages/core/utils/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
    • Removed unused homepage and flutter sections.
  • packages/flutter_app/ios/Flutter/AppFrameworkInfo.plist
    • Removed the MinimumOSVersion key.
  • packages/flutter_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
    • Updated various Firebase and Google Ads SDK versions.
    • Removed the swift-protobuf dependency.
  • packages/flutter_app/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved
    • Updated various Firebase and Google Ads SDK versions.
    • Removed the swift-protobuf dependency.
  • packages/flutter_app/ios/Runner/AppDelegate.swift
    • Modified AppDelegate to adopt FlutterImplicitEngineDelegate.
    • Updated plugin registration to use engineBridge.pluginRegistry.
  • packages/flutter_app/ios/Runner/Info.plist
    • Added the UIApplicationSceneManifest dictionary to configure scene-based application lifecycle.
  • packages/flutter_app/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/pub_dev_api_client/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/themes/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/util/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • packages/widget_catalog/pubspec.yaml
    • Updated the Dart SDK constraint from "^3.10.7" to "^3.11.0".
  • pubspec.lock
    • Updated versions and SHA256 hashes for numerous transitive dependencies, including _flutterfire_internals, accessibility_tools, build, build_daemon, build_runner, built_value, characters, checked_yaml, cloud_firestore, cloud_firestore_platform_interface, cloud_firestore_web, code_builder, cross_file, crypto, dbus, dio, equatable, ffi, file_selector_linux, file_selector_macos, file_selector_platform_interface, file_selector_windows, firebase_analytics, firebase_analytics_platform_interface, firebase_analytics_web, firebase_auth, firebase_auth_platform_interface, firebase_auth_web, firebase_core, firebase_core_web, firebase_crashlytics, firebase_crashlytics_platform_interface, firebase_in_app_messaging, firebase_in_app_messaging_platform_interface, firebase_messaging, firebase_messaging_platform_interface, firebase_messaging_web, firebase_performance, firebase_performance_platform_interface, firebase_performance_web, firebase_remote_config, firebase_remote_config_platform_interface, firebase_remote_config_web, firebase_storage, firebase_storage_platform_interface, firebase_storage_web, flutter_hooks, flutter_local_notifications, flutter_local_notifications_platform_interface, flutter_local_notifications_windows, flutter_plugin_android_lifecycle, flutter_riverpod, flutter_svg, go_router, go_router_builder, hooks, hooks_riverpod, http, image, image_picker, image_picker_android, image_picker_for_web, image_picker_ios, image_picker_macos, image_picker_platform_interface, image_picker_windows, image_size_getter, inspector, json_annotation, json_schema, json_serializable, matcher, material_color_utilities, melos, mustache_template, native_toolchain_c, objective_c, path_provider_android, path_provider_foundation, pool, posix, process, quiver, rfc_6901, riverpod, shared_preferences, shared_preferences_android, shared_preferences_foundation, slang, slang_flutter, source_gen, source_helper, source_span, sqflite_android, sqflite_common, synchronized, test, test_core, time, uri, url_launcher_android, url_launcher_ios, url_launcher_linux, url_launcher_macos, url_launcher_web, url_launcher_windows, uuid, vector_graphics, vector_graphics_compiler, vm_service, watcher, widgetbook, widgetbook_annotation, widgetbook_generator, win32, and yaml_edit.
  • pubspec.yaml
    • Updated the root Dart SDK constraint to "^3.11.0".
    • Simplified the workspace definition to use wildcards.
    • Updated melos to "^7.4.0".
    • Removed outdated melos command configurations.
Activity
  • The pull request was created by riscait.
  • The author included a pre-launch checklist, indicating a structured approach to development and testing.
  • No specific review comments or activity have been recorded yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request effectively upgrades the project to Flutter 3.41 and Dart 3.11. The changes are comprehensive, covering not only dependency version bumps in pubspec.yaml files and pubspec.lock, but also the necessary adjustments in the native iOS project configuration, such as updating AppDelegate.swift to use FlutterImplicitEngineDelegate and modifying the .plist files. The adoption of modern Dart 3 pattern matching syntax in result.dart is a great improvement for code readability. Furthermore, the simplification of the root pubspec.yaml by using glob patterns for the workspace and cleaning up the melos configuration is a nice touch. Overall, this is a well-executed and clean upgrade. I have no further comments.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades Flutter from 3.38.7 to 3.41.1 and Dart from 3.10.7 to 3.11.0, along with updating all dependencies and making necessary iOS configuration changes for compatibility with the new Flutter version.

Changes:

  • Updated Flutter SDK to 3.41.1 and Dart SDK to 3.11.0 across all packages
  • Simplified workspace configuration using glob patterns instead of explicit package listing
  • Updated iOS configuration for scene-based lifecycle support (required for Flutter 3.41+)
  • Modernized pattern matching syntax to use shorthand field patterns
  • Updated all dependencies to their latest compatible versions

Reviewed changes

Copilot reviewed 20 out of 21 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pubspec.yaml Updated Dart SDK to 3.11.0, simplified workspace configuration with glob patterns, updated melos to 7.4.0, removed obsolete melos command configurations
pubspec.lock Updated all transitive dependencies to latest versions compatible with Flutter 3.41.1 and Dart 3.11.0
packages/*/pubspec.yaml Updated Dart SDK constraint to ^3.11.0 across all workspace packages
packages/flutter_app/ios/Runner/Info.plist Added UIApplicationSceneManifest configuration for scene-based lifecycle support
packages/flutter_app/ios/Runner/AppDelegate.swift Updated to use FlutterImplicitEngineDelegate for modern Flutter engine initialization
packages/flutter_app/ios/Flutter/AppFrameworkInfo.plist Removed MinimumOSVersion (managed in project.pbxproj)
packages/flutter_app/ios/Runner*/Package.resolved Updated Firebase and Google SDKs, removed unused swift-protobuf dependency
packages/core/utils/lib/src/result/result.dart Updated pattern matching to use shorthand field pattern syntax
packages/core/utils/pubspec.yaml Removed empty homepage field and unused flutter section
.vscode/settings.json Updated Flutter SDK path to 3.41.1
.fvmrc Updated Flutter version to 3.41.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@riscait riscait merged commit 0a75c5d into main Feb 14, 2026
8 checks passed
@riscait riscait deleted the flutter-3.41-with-dart-3.10 branch February 14, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant