Skip to content

WidgetState should add a value for AppLifecycleState.inactive #152519

@victorsanni

Description

@victorsanni

Use case

On macOS, widgets change their look when an app is no longer in the foreground but has visible windows:

ScreenRecording2024-07-29at3 55 25PM-ezgif com-video-to-gif-converter

Proposal

Adding this value to the WidgetState enum would allow widget properties to be configured in this state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.team-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