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

Fix: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. #864

Open
CurtlyCritchlow opened this issue Jun 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@CurtlyCritchlow
Copy link
Contributor

Which at_widget package you find issue with?

at_sync_ui_flutter

On what platforms did you experience the issue?

MacOS

What version are you using?

package: 1.0.11

What happened?

On the beta channel the below info message is shown during info • 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre • lib/at_sync_material.dart:302:9 • deprecated_member_use.

On the stable channel the method `onPopInvokedWithResult' is not defined so this info message should be resolved when beta becomes stable

Steps to reproduce

Run flutter analyze on the at_sync_ui_flutter.

Additional info

No response

Relevant log output

No response

Flutter analyze output

Analyzing at_sync_ui_flutter...                                 

   info • 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre • lib/at_sync_material.dart:302:9 • deprecated_member_use

1 issue found. (ran in 14.9s)


### Flutter doctor output

```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.23.0-0.1.pre, on macOS 14.5 23F79
    darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android
    SDK version 34.0.0-rc2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.90.1)
[✓] Connected device (5 available)            
[✓] Network resources

• No issues found!
@CurtlyCritchlow CurtlyCritchlow added the bug Something isn't working label Jun 14, 2024
@CurtlyCritchlow CurtlyCritchlow self-assigned this Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant