-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Describe the bug
when i call displayManager.showSecondaryDisplay() the second screen will display but it will switch the screen to the first route i navigate
To Reproduce Scenario 1
Steps to reproduce the behavior:
- displayManager.showSecondaryDisplay() -> second screen display correct widget
- Navigator.pushReplacement to route A -> second screen will display widget route A
- Navigator.pushReplacement to route B -> now onward second screen will remain on route A
- basically my second screen will auto switch to the first navigation route in my flutter app
To Reproduce Scenario 2
- Navigator.pushReplacement to route A -> second screen will display widget route A
- displayManager.showSecondaryDisplay() -> second screen display correct widget and then switch to route A
- Navigator.pushReplacement to route B -> now onward second screen will remain on route A
- no matter i call second screen function before or after navigator, the second screen still will look for the first navigator route as second screen
Expected behavior
I need the second screen only display the widget i want instead of the display first route navigator i called.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels