Skip to content

Checkbox + label should be a widget #254

Description

@FlutterIssues

Issue by Hixie
Tuesday Nov 03, 2015 at 20:15 GMT
Originally opened as https://github.com/flutter/engine/issues/1925


Any time you add a checkbox, you end up having to add a label also, and then hooking up the event handlers on both, and it's a pain. We should just have one widget that has a checkbox and a label.

Same for radio buttons, switches, etc.

Activity

  1. added this to the milestone on Nov 9, 2015
  2. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by HansMuller
    Tuesday Nov 03, 2015 at 21:10 GMT


    Making it easy to funnel events from widgets (like labels) added to an event handling widget (like Checkbox) might be worth supporting. See https://github.com/flutter/engine/issues/1726

  3. added
    customer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.
    on Sep 16, 2016
  4. eseidelGoogle commented on Nov 3, 2016

    @eseidelGoogle
    Contributor

    This may need to move to an earlier milestone, given customer: leafy's increasing use of forms and the growing number of dups/references. :)

  5. modified the milestones: 1: Top Customer Requests, on Nov 3, 2016
  6. sethladd commented on Nov 29, 2016

    @sethladd
    Contributor

    Is this still a top request? If so, for which customer?

  7. Hixie commented on Nov 29, 2016

    @Hixie
    Contributor

    IIRC, leafy was asking for it, but I don't know if it's critical. It's a common request from many people. It might fit in well with the FormField stuff and the InputContainer stuff. cc @mpcomplete @HansMuller

  8. sethladd commented on Nov 29, 2016

    @sethladd
    Contributor

    Thanks. I feel like @mehmetf has probably worked around this for now. I'm tempted to move this to milestone 2.

  9. self-assigned this
    on Nov 30, 2016
  10. 2 remaining items

  11. modified the milestones: 2: Make Early Adopters happy, on Jan 26, 2017
  12. self-assigned this
    on May 17, 2017
  13. omidraha commented on Sep 9, 2020

    @omidraha
  14. github-actions commented on Aug 12, 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.

  15. locked as resolved and limited conversation to collaborators on Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilitycustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.frameworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packageswaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions