Skip to content

[camerax] Standardize the detached versions of wrapped class constructors #126293

Description

@gmackall

Currently, some of the detached versions of the dart wrapped class constructors create a HostApiImpl in their constructor, and some do not

Examples that do not create a HostApiImpl:
Exposure state
Zoom state

Examples that do:
Preview
Image proxy

We should standardize these constructors to either all construct a HostApiImpl corresponding to their class, or to all not create them in the detached constructor.

See this discussion which brought up this issue.

Activity

  1. added
    packageflutter/packages repository. See also p: labels.
    on May 8, 2023
  2. added
    platform-androidAndroid applications specifically
    P2Important issues not at the top of the work list
    on May 8, 2023
  3. camsim99 commented on Jul 7, 2025

    @camsim99
    Contributor

    With the new proxy APIs, we no longer have wrapper classes!

  4. github-actions commented on Jul 21, 2025

    @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.

  5. locked as resolved and limited conversation to collaborators on Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions