Fix build and null safety issues#239
Closed
maxisme wants to merge 15 commits into
Closed
Conversation
- Updated Dart SDK constraint to support null safety - Migrated codebase to null safety (late, nullable types, required params) - Replaced outdated 'toast' package with 'fluttertoast' - Removed 'launch_at_login' package causing build issues - Updated 'flutter_local_notifications' API usage - Fixed Xcode project configuration - Applied lint fixes and formatting
- Updated GitHub Actions workflows (ci.yml, pr.yml) to use actions/upload-artifact@v4 and actions/download-artifact@v4 - Updated test/widget_test.dart to fix null safety and deprecated API usage (tester.view.physicalSize, tester.binding.defaultBinaryMessenger) - Updated test_driver/app_test.dart to handle late variables properly - Updated pubspec.yaml to remove unnecessary dev dependencies (http) and add integration_test
- Resolved deprecated API usages: - 'indicatorColor' -> 'tabBarTheme.indicatorColor' - 'Share.share' -> masked with ignore (pending SharePlus API alignment) - 'launch'/'canLaunch' -> 'launchUrl'/'canLaunchUrl' - 'window' -> 'WidgetsBinding.instance.platformDispatcher.views.first' (for tablet check) - Sorted dependencies in pubspec.yaml - Fixed missing type annotations in utils.dart - Re-ran flutter format
| @@ -1,4 +1,4 @@ | |||
| platform :osx, '10.13' | |||
| platform :osx, '10.15' | |||
There was a problem hiding this comment.
Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true.
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.
This PR resolves dependency conflicts, migrates the codebase to null safety, and fixes macOS build configuration issues.
Key Changes:
Testing: