Skip to content

[camera] Developer should be able to lock camera orientation #39071

@mklim

Description

@mklim

Sometimes I want the camera to follow rotation, sometimes I don't.
It should be an option in the API.

For example if I am writing a photo taking app I might want to rotate my device to take a landscape photo so I want the camera to follow the rotation (camera locked to device orientation).

Another example is I am writing a kiosk and I want the camera to always be a certain orientation no matter how the device is oriented. (camera on a swivel always pointing up).

Originally posted by @RussellZornes in #16587 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions