Skip to content

Question: How do I access the different stacks? #265

@Zandahlen

Description

@Zandahlen

As I have understood it, there are separate stacks for the different tabs, in order to keep the tabs separated, but I wonder,

how do I refer to the different stacks, I am guessing it's just different contexts? In that case where do I find the proper context then?

e.g. if i wanna check if the route can pop with ModalRoute.of(context)?.canPop, it will give false because the navbar is the first page, but I wanna check it within the tab.
How do I get the proper context?

I tried with the selectedTabScreenContext but it doesn't seem to work for me.

(I'll post a repo if needed)

Many thanks for any and all help,
and the nice package :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions