Skip to content

Popup menu isn't stateful #698

Closed
Closed

Description

@Hixie

The stocks demo app has a checkbox in its popup menu but you can never toggle it visibly.

Activity

  1. added this to the milestone on Dec 3, 2015
  2. Hixie commented on Dec 4, 2015

    @Hixie
    ContributorAuthor

    I worked around this in #718, but we should probably take a closer look and decide if that's sufficient or if we want a more "real" solution.

  3. abarth commented on Mar 31, 2016

    @abarth
    Contributor

    This looks roughly fixed now. We now have a PopupMenuButton widget that manages showing the menu for you and a CheckedPopupMenuItem that manages the checkbox. You can still reproject arbitrary widgets through the menu, so you can still technically encounter this issue, but that's now an esoteric usage and probably ok to require some more careful state management.

  4. github-actions commented on Aug 17, 2021

    @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 Aug 17, 2021
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

    frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions