Skip to content

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

@gmackall

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.

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