Skip to content

I am not sure but this might help if you are wondering why you get No MediaQuery ancestor error on menu_dashboard_layout.dart #5

@jinseok9338

Description

@jinseok9338

If you are getting
he following assertion was thrown building MenuDashboardPage(dirty, state:
_MenuDashboardPageState#06e98(ticker inactive)):
No MediaQuery widget ancestor found.
MenuDashboardPage widgets require a MediaQuery widget ancestor.
on menu_dashboard_layout.dart

It's because the dashboard widget has no way to inherit MediaQuery context directly from MenuDashboardPage widget.
Here's what I did to fix the issue.
It's just a work around and not a real solution :(

스크린샷 2021-03-16 오후 7 14 13

스크린샷 2021-03-16 오후 7 15 05

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