Skip to content

Could there be a better way of attaching the instance instead of using <instance>.attach method #12

@PhantomKnight287

Description

@PhantomKnight287

I used this project with go_router but the problem is that there is no home prop in my MaterialApp where I can call this attach method in initState to be attached throughout the lifecycle of the app. This makes it hard as I have to manually attach the instance in almost every screen I want to debug. Could there be a better way than this? The package uses OffStage widget hence it needs the MaterialApp in the render tree.

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