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

Error When using Widget Inspector With AutoRouter #1628

Closed
rlee1990 opened this issue Jun 28, 2023 · 4 comments
Closed

Error When using Widget Inspector With AutoRouter #1628

rlee1990 opened this issue Jun 28, 2023 · 4 comments

Comments

@rlee1990
Copy link

I started receiving the below error out of nowhere when using this package with the Widget Inspector when in select widget mode.

HomeArgs can not be null because the corresponding page has a required parameter

I am using version 7.4.0

[✓] Flutter (Channel stable, 3.10.3, on macOS 13.4.1 22F82 darwin-arm64, locale en-US)
    • Flutter version 3.10.3 on channel stable at /Users/rickeylee/Desktop/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f92f44110e (4 weeks ago), 2023-06-01 18:17:33 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/rickeylee/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = /Users/rickeylee/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.79.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.66.0

[✓] Connected device (4 available)
    • SM F926U (mobile)            • RFCR802EMHY                              • android-arm64  • Android 13 (API 33)
    • rickey lee’s iPhone (mobile) • d0545eb2ff26e1c087d1b29c26f8e15da19284bb • ios            • iOS 16.5.1 20F75
    • macOS (desktop)              • macos                                    • darwin-arm64   • macOS 13.4.1 22F82 darwin-arm64
    • Chrome (web)                 • chrome                                   • web-javascript • Google Chrome 114.0.5735.198

[✓] Network resources
    • All expected network resources are available.

• No issues found!
@Milad-Akarie
Copy link
Owner

@rlee1990 does this happen on web?

@rlee1990
Copy link
Author

rlee1990 commented Jul 1, 2023

@Milad-Akarie I have not tried on web yet but will over the weekend and let you know.

@Skleprozzz
Copy link

Skleprozzz commented Jul 2, 2023

Same issue, using vs-code and route with parameters, toggling widget selectionMode causing route to pop to initial route

and if you using global keys you will get error that Multiple widgets used the same GlobalKey. The key [LabeledGlobalKey#fb9e4] was used by multiple widgets

UPD: Looks like on each toggling widget selection mode causing push new instance of page to stack

@github-actions
Copy link

github-actions bot commented Sep 1, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants