Skip to content

deleteBackward or keyPress event for Textfield #29845

@vkjon

Description

@vkjon

One of the requirements for the project I am working on currently requires performing an action when delete key is received by the TextField widget. Particularly, there is no way to detect that delete was tapped when there is no text in the TextField.

I'd like to propose an onDelete event, or onKeyPress(keyCode) event, propagation to the end user. Please let me know your thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    d: stackoverflowGood question for Stack Overflowframeworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions