Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Page Example #2

Closed
sfaizanh opened this issue Mar 29, 2019 · 3 comments
Closed

Two Page Example #2

sfaizanh opened this issue Mar 29, 2019 · 3 comments

Comments

@sfaizanh
Copy link

Hi @Dn-a due to Page(Scaffold) is an children of InnerDrawer how can we implement on two or more pages (Navigation Example)

    @override
    Widget build(BuildContext context)
    {
        return InnerDrawer(
            key: _innerDrawerKey,
            position: InnerDrawerPosition.start, // required
            onTapClose: true, 
            ...
            scaffold: Scaffold(
                appBar: AppBar(
                    automaticallyImplyLeading: false
                )
            )
        )
    }

Default flutter drawer

return Scaffold(
  appBar: AppBar(
    title: Text("Drawer app"),
  ),
  drawer: Drawer(),
)
@Dn-a
Copy link
Owner

Dn-a commented Mar 30, 2019

@sfaizanh could you provide more information?

@sfaizanh
Copy link
Author

sfaizanh commented Apr 1, 2019

@Dn-a Thanks for replying. How can we implement same drawer for two or more pages (Persisting Drawer).

@Dn-a
Copy link
Owner

Dn-a commented Apr 3, 2019

@sfaizanh sorry, could you give an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants