Skip to content

When Navigator push a new page, the root page's window buttons disappears #131

@sleepreading

Description

@sleepreading

We usually add window button (minimized button, maximized button ..) to the root page. and hope these buttons work like the windows title bar (never disappears).
But if we Navigator.of(context).push() a new page, this page will have no these buttons. By the way, add this code

Column(
        children: [
          WindowTitleBarBox(
            child: Row(
              children: [
                Expanded(child: MoveWindow()),
                windowButtons,
              ],
            ),
          ),
          Expanded(child: mainBody),  // <-- the real content
        ],
      )

to every page is really redundant.

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