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

Replace deprecated implicit-casts option with strict-casts option #1863

Merged

Conversation

parlough
Copy link
Member

@parlough parlough commented Jan 4, 2023

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

@parlough parlough marked this pull request as ready for review January 4, 2023 23:26
@elliette elliette merged commit 49f97b8 into dart-lang:master Jan 7, 2023
@parlough parlough deleted the misc/strong-mode-to-language-mode branch January 7, 2023 01:03
@FMorschel
Copy link

As I've mentioned here, could you please place this information somewhere easier to find? I know this is shown here but I meant in the IDE. 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

On VSCode, it shows 'implicit-dynamics' is not a recognized lint rule and 'implicit-casts' is not a recognized lint rule on the warning message and not the suggestions mentioned here.

The Flutter extension version is v3.58.0, Dart extension version is v3.58.0 and my flutter doctor -v:

[√] Flutter (Channel stable, 3.7.5, on Microsoft Windows [Version 10.0.22621.1265], locale pt-BR)
    • Flutter version 3.7.5 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.gitFramework revision c07f788888 (5 days ago), 2023-02-22 17:52:33 -0600Engine revision 0f359063c4
    • Dart version 2.19.2DevTools version 2.20.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\felip_0vh5fa6\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0Java binary at: C:\Users\felip_0vh5fa6\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\213.7172.25.2113.9123335\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\CommunityVisual Studio Community 2022 version 17.4.33403.182Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Users\felip_0vh5fa6\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\213.7172.25.2113.9123335Flutter plugin version 72.0.1Dart plugin version 213.7433Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.75.1)
    • VS Code at C:\Users\felip_0vh5fa6\AppData\Local\Programs\Microsoft VS CodeFlutter extension version 3.58.0

[√] Connected device (4 available)
    • SM G780F (mobile) • RX8R30G5WDH • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22621.1265]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 110.0.5481.177Edge (web)        • edge        • web-javascript • Microsoft Edge 110.0.1587.50

[√] HTTP Host AvailabilityAll required HTTP hosts are available

• No issues found!

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.

3 participants