During execution, is there a way for the developer to see the state of the Navigator stack?
I am using Visual Studio Code and Android Studio.
For instance:
Navigator
RouteA
RouteB
RouteD
etc.
Solution 1: TruongSinh
Following steps:
Set a breakpoint where you want to inspect, which must be inside a
builder
function which hascontext
, and run in Debug modeRun your app to the break point
In my example, you can see there are 2 routes in the history, with all relevant debuggable data.
Hope it helps