Skip to content

Replace deprecated strong mode option with newer strict mode #2442

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

Merged

Conversation

parlough
Copy link
Member

@parlough parlough commented Jan 4, 2023

The old strong-mode options are deprecated (dart-lang/sdk@166c54b) in favor of new strict modes (dart-lang/sdk#33749).

@parlough parlough requested a review from srawlins January 4, 2023 22:47
@domesticmouse domesticmouse merged commit eeec452 into dart-lang:master Jan 4, 2023
@parlough parlough deleted the misc/move-away-from-strong-mode branch January 4, 2023 23:29
@parlough parlough removed the request for review from srawlins January 4, 2023 23:51
@FMorschel
Copy link

Could you please place this information somewhere easier to find? I was lost for some time trying to find the new replacements when I upgraded to Flutter 3.7.0 and Dart 2.19.0

@srawlins
Copy link
Member

Sorry this caused trouble.

The warning message should provide a suggestion of what to replace the deprecated option with, and there should be an automated dart fix.

@parlough
Copy link
Member Author

You can also find more information at dart.dev under Enabling stricter type checks.

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.

4 participants