Skip to content

Introduce InputDecoration.helper field for contextual information with widgets #145163

@VatsalBhesaniya

Description

@VatsalBhesaniya

Use case

Currently, incorporating contextual information with customizations like styling the helper text differently or adding tappable elements within InputDecoration is difficult. Existing solutions involve workarounds like separate Text widgets or suffixIcon, which might lead to layout inconsistencies or limited visibility.

Proposal

Introduce a new field helper to the InputDecoration class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions