Skip to content

The descriptions of some values in DeviceOrientation enum is wrong. #151371

Closed

Description

@tlserver

Steps to reproduce

See https://api.flutter.dev/flutter/services/DeviceOrientation.html

Expected results

The description of landscapeLeft should be

The orientation that is 90 degrees counterclockwise from portraitUp.

and the description of landscapeRight should be

The orientation that is 90 degrees clockwise from portraitUp.

Actual results

The description of landscapeLeft is

The orientation that is 90 degrees clockwise from portraitUp.

and the description of landscapeRight should be

The orientation that is 90 degrees counterclockwise from portraitUp.

Code sample

// N/A

Screenshots or Video

No response

Logs

No response

Flutter Doctor output

Doctor output
[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3810], locale en-HK)
    • Flutter version 3.22.2 on channel stable at C:\Programming\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (4 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\6y\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Users\6y\AppData\Local\Programs\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34221.43
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Users\6y\AppData\Local\Programs\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)

[√] IntelliJ IDEA Ultimate Edition (version 2024.1)
    • IntelliJ at C:\Users\6y\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 241.17890.8

[√] VS Code, 64-bit edition (version 1.85.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.84.0

[√] Connected device (4 available)
    • M2012K11G (mobile) • 621c3d3d • android-arm64  • Android 14 (API 34)
    • Windows (desktop)  • windows  • windows-x64    • Microsoft Windows [Version 10.0.22631.3810]
    • Chrome (web)       • chrome   • web-javascript • Google Chrome 126.0.6478.127
    • Edge (web)         • edge     • web-javascript • Microsoft Edge 126.0.2592.56

[√] Network resources
    • All expected network resources are available.

• No issues found!

Activity

  1. added
    in triagePresently being triaged by the triage team
    frameworkflutter/packages/flutter repository. See also f: labels.
    d: api docsIssues with https://api.flutter.dev/
    and removed
    in triagePresently being triaged by the triage team
    on Jul 8, 2024
  2. self-assigned this
    on Jul 9, 2024
  3. added
    P2Important issues not at the top of the work list
    on Jul 9, 2024
  4. added a commit that references this issue on Aug 5, 2024
    68983f7
  5. added
    r: fixedIssue is closed as already fixed in a newer version
    on Aug 5, 2024
  6. added a commit that references this issue on Aug 7, 2024
    23b5541
  7. github-actions commented on Aug 19, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Aug 19, 2024
  9. added a commit that references this issue on Sep 2, 2024
    b1ee2b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listd: api docsIssues with https://api.flutter.dev/frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions