Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prevent AppDrawer from reloading #141

Open
@pieterbergmans

Description

@pieterbergmans

Hi...I'm really digging all your tutorials! I've learned so much from you. Thank you!

I've implemented the responsive AppDrawer just as you've done here:https://www.filledstacks.com/post/building-a-responsive-ui-architecture-in-flutter/

In order to make the AppDrawerOptions navigable, I modified the model by addingroute andisActive properties and removingstatic fromgetDrawerOptions(). TheisActive property is a boolean and changes depending on the active route; in this way, I know which AppDrawerOption to highlight. Anyway, I'm noticing that the AppDrawer reloads on every page load. Is there a way to prevent it from reloading? Is my approach the best way to go about this?

Thanks in advance.

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp