Skip to content

MediaQueryData orientation missing? #4940

@cooler-king

Description

@cooler-king

MediaQueryData no longer includes orientation information (the size, devicePixelRatio and padding is still there) and rotating the phone does not trigger new builds. It stopped working for me after updating to latest alpha (I think).

vinteresting@vinteresting-VirtualBox:~$ flutter devices
1 connected device:

LG LS980 • LGLS9809524a5db • android-arm

Android version 5.0.2

Flutter Doctor

vinteresting@vinteresting-VirtualBox:~$ flutter doctor
[✓] Flutter (on Linux, channel alpha)
• Flutter at /home/vinteresting/dev/github/flutter
• Framework revision 9c0c022 (3 weeks ago), engine revision bb98655

[✓] Android toolchain - develop for Android devices (Android SDK 23.0.2)
• Android SDK at /home/vinteresting/dev/android-sdk-linux
• Platform android-23, build-tools 23.0.2
• Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

[✓] Atom - a lightweight development environment for Flutter
• flutter plugin version 0.2.3
• dartlang plugin version 0.6.32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions