⬆️ Update flutter version to >=3.10.0 and dart sdk to >= 3.0.0 - #551
Open
lavigarg-simform wants to merge 1 commit into
Open
lavigarg-simform wants to merge 1 commit into
lavigarg-simform wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates this package and the bundled example app to newer Flutter/Dart baselines, and applies the corresponding template/migration changes across the library widgets and example platform runners.
Changes:
- Bumps package Flutter constraint to
>=3.29.0(and example app to Flutter^3.44.0), adjusting related dependency versions. - Refactors many widget constructors to use
super.key/super-parameter forwarding for cleaner Dart 3-style code. - Updates example platform runners (Windows/macOS/iOS/Linux/Web/Android) to newer Flutter-generated templates and build settings.
Reviewed changes
Copilot reviewed 55 out of 56 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| pubspec.yaml | Raises SDK/Flutter constraints and pins lints. |
| lib/src/zoom_scroll_controller.dart | Uses super-parameter forwarding in controller/position constructors. |
| lib/src/week_view/week_view.dart | Migrates constructor to super.key and removes explicit super(key: ...). |
| lib/src/week_view/_internal_week_view_page.dart | Migrates constructor to super.key. |
| lib/src/multi_day_view/multi_day_view.dart | Migrates constructor to super.key and removes explicit super(key: ...). |
| lib/src/multi_day_view/_internal_multi_day_view_page.dart | Migrates constructor to super.key. |
| lib/src/month_view/month_view.dart | Migrates constructors to super.key. |
| lib/src/day_view/day_view.dart | Migrates constructor to super.key and removes explicit super(key: ...). |
| lib/src/day_view/_internal_day_view_page.dart | Migrates constructor to super.key. |
| lib/src/components/safe_area_wrapper.dart | Forwards child via super.child. |
| lib/src/components/month_view_components.dart | Migrates constructors to super.key. |
| lib/src/components/headers/week_page_header.dart | Refactors to super-parameter forwarding and trims imports. |
| lib/src/components/headers/month_page_header.dart | Refactors to super-parameter forwarding (imports adjusted). |
| lib/src/components/headers/day_page_header.dart | Refactors to super-parameter forwarding and trims imports. |
| lib/src/components/headers/calendar_page_header.dart | Migrates constructor to super.key and simplifies initializer list. |
| lib/src/components/day_view_components.dart | Migrates constructors to super.key. |
| lib/src/components/_internal_components.dart | Migrates constructors to super.key. |
| lib/src/calendar_theme_provider.dart | Forwards child/key via super parameters. |
| lib/src/calendar_controller_provider.dart | Forwards child/key via super parameters. |
| example/windows/runner/win32_window.h | Updates window creation API and adds theme update/show APIs. |
| example/windows/runner/win32_window.cpp | Implements new Create/Show flow and adds dark-mode decoration update. |
| example/windows/runner/utils.cpp | Hardens UTF-16 to UTF-8 conversion for safer length handling. |
| example/windows/runner/Runner.rc | Updates version macro wiring to Flutter version defines. |
| example/windows/runner/runner.exe.manifest | Adjusts supported OS declarations for Windows 10/11. |
| example/windows/runner/run_loop.h | Removed (switches away from custom run loop). |
| example/windows/runner/run_loop.cpp | Removed (switches away from custom run loop). |
| example/windows/runner/main.cpp | Uses standard Windows message loop and updated window API. |
| example/windows/runner/flutter_window.h | Removes run loop dependency from FlutterWindow API. |
| example/windows/runner/flutter_window.cpp | Shows window on first Flutter frame; removes run loop registration. |
| example/windows/runner/CMakeLists.txt | Updates build settings, adds version defines and new link libraries. |
| example/windows/flutter/CMakeLists.txt | Updates Flutter-level build steps and adds target-platform fallback. |
| example/windows/CMakeLists.txt | Updates project-level CMake policies and native assets install step. |
| example/web/index.html | Uses flutter_bootstrap.js only (removes direct main.dart.js). |
| example/test/widget_test.dart | Replaces counter test with a boot/smoke widget test and view sizing. |
| example/pubspec.yaml | Updates Flutter/Dart constraints and pins dependency versions. |
| example/macos/Runner/AppDelegate.swift | Migrates to @main and enables secure restorable state. |
| example/macos/Runner.xcworkspace/contents.xcworkspacedata | Adds Pods project reference. |
| example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme | Updates Xcode upgrade/version settings and GPU validation mode. |
| example/macos/Runner.xcodeproj/project.pbxproj | Updates deployment target, integrates Pods, and updates project format. |
| example/macos/Podfile | Raises macOS deployment target to 10.15. |
| example/macos/.gitignore | Ignores Podfile.lock. |
| example/linux/runner/my_application.h | Adds new GTK runner application entry points. |
| example/linux/runner/my_application.cc | Adds new GTK runner implementation using modern Flutter Linux embedding. |
| example/linux/runner/main.cc | Adds new Linux main entry point. |
| example/linux/runner/CMakeLists.txt | Adds Linux runner build configuration. |
| example/ios/Runner/Info.plist | Adds scene manifest configuration. |
| example/ios/Runner/AppDelegate.swift | Adopts implicit engine delegate plugin registration. |
| example/ios/Runner.xcodeproj/project.pbxproj | Raises iOS deployment target and adjusts Pods integration phases. |
| example/ios/Podfile | Updates commented iOS platform version to 13.0. |
| example/ios/Flutter/AppFrameworkInfo.plist | Removes MinimumOSVersion entry. |
| example/ios/.gitignore | Ignores Podfile.lock. |
| example/android/settings.gradle | Updates Android Gradle Plugin and Kotlin plugin versions. |
| example/android/gradle/wrapper/gradle-wrapper.properties | Updates Gradle distribution version. |
| example/android/gradle.properties | Adds Flutter migrator flags for Kotlin/new DSL. |
| example/.metadata | Updates Flutter revision metadata and migration section. |
| example/.fvmrc | Updates pinned FVM Flutter version to 3.44.0. |
Files not reviewed (1)
- example/macos/Runner.xcworkspace/contents.xcworkspacedata: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
lavigarg-simform
force-pushed
the
feat/flutter-upgrade-3.29.0
branch
2 times, most recently
from
June 17, 2026 09:00
69fe19b to
3f08645
Compare
lavigarg-simform
force-pushed
the
feat/flutter-upgrade-3.29.0
branch
2 times, most recently
from
June 17, 2026 13:52
87bcb52 to
02878fb
Compare
lavigarg-simform
marked this pull request as ready for review
June 17, 2026 13:54
lavigarg-simform
force-pushed
the
feat/flutter-upgrade-3.29.0
branch
from
June 18, 2026 09:52
02878fb to
97b21b9
Compare
lavigarg-simform
requested review from
ParthBaraiya,
kavantrivedi and
vatsaltanna-simformsolutions
June 18, 2026 09:53
This branch has not been deployed
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.
⬆️ Update flutter version to >=3.10.0 and dart sdk to >= 3.0.0
Description
This PR upgrades the Flutter framework version requirement to 3.10.0 or higher and updates the example application to Flutter 3.44.0. The changes include comprehensive updates to all platform-specific configurations (iOS, Android, macOS, Windows, and Linux) and their respective build tools to align with the latest Flutter ecosystem standards.
Key Changes
Core Version Updates
>=3.12.0 <4.0.0(was>=3.10.4 <4.0.0)^3.44.0in example pubspec.yamlPlatform-Specific Updates
Android:
iOS:
AppDelegate.swiftto useFlutterImplicitEngineDelegatepatternmacOS:
@mainattribute and secure restorable state supportLinux:
Windows:
Web:
main.dart.jsscript tag (now handled byflutter_bootstrap.js)Dependency Updates (example)
build_runner: 2.15.0build_web_compilers: 4.8.0lints: 6.1.0Testing
Migration Notes
This upgrade may require developers to:
Checklist
docsand added dartdoc commentsexamplesordocsBreaking Change?