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
I'm making use of ImplicitBackButton in perhaps an unexpected way in that in my "flows" (flows are defined as parts of the Widget tree that contain their own ImplicitNavigator that manages 1...N screens), I have a Scaffold whose body consists of a Column that contains a Row which acts an as AppBar (without being an AppBar):
I've looked at that code before and I know it does some introspection on the Widget tree, so I suspect the displaying of the dialog is just throwing that introspection logic off.
Directly before the Dialog is shown, the tree looks like this (reminder: FixDetailsFlow uses the structure outlined above):
Once shown, it looks like:
As shown in the video above, the back behavior, even once the button is shown again, takes a few tappy taps to start working again 🙃
I'm making use of
ImplicitBackButtonin perhaps an unexpected way in that in my "flows" (flows are defined as parts of theWidgettree that contain their ownImplicitNavigatorthat manages 1...N screens), I have aScaffoldwhosebodyconsists of aColumnthat contains aRowwhich acts an asAppBar(without being anAppBar):The other item in the
Columnis anExpandedcontaining theImplicitNavigator. This allows me to use the header row across all screens in the flow.However, I noticed that when showing
Dialogs in a flow like this one,ImplicitNavigatorBackButtondisappears when theDialogis shown (see video):Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-05-30.at.18.14.10.mp4
I've looked at that code before and I know it does some introspection on the
Widgettree, so I suspect the displaying of the dialog is just throwing that introspection logic off.Directly before the
Dialogis shown, the tree looks like this (reminder:FixDetailsFlowuses the structure outlined above):Once shown, it looks like:
As shown in the video above, the back behavior, even once the button is shown again, takes a few tappy taps to start working again 🙃
Library version:
Flutter version: