You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, deprecating fields is sometimes needed. Deprecating the field will trigger a lint throughout the project to alert the developer to avoid using this parameter/property. With the copyWith extension, this is not included. It would be nice to have the copyWith reflect the same deprecation annotation within the generated code.
Environment details
`flutter doctor`
[✓] Flutter (Channel stable, 3.3.0, on macOS 12.5 21G72 darwin-arm (Rosetta), locale en-US)[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)[✓] Chrome - develop for the web[✓] Android Studio (version 2021.2)[✓] VS Code (version 1.71.0)[✓] Connected device (3 available)[✓] HTTP Host Availability• No issues found!
Describe the issue
As a developer, deprecating fields is sometimes needed. Deprecating the field will trigger a lint throughout the project to alert the developer to avoid using this parameter/property. With the copyWith extension, this is not included. It would be nice to have the copyWith reflect the same deprecation annotation within the generated code.
Environment details
`flutter doctor`
`flutter --version`
package version
To Reproduce
Expected behaviour
Lint warning on all deprecated copyWith parameters
The text was updated successfully, but these errors were encountered: