Skip to content

Show prefix text in TextField even when it is not in focus and empty #19488

@shujames

Description

@shujames

Currently there is no way to force prefix text defined in the InputDecoration to stay shown if text field is not in focus and text is empty.
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/input_decorator.dart#L1669

Is there a way to extend InputDecorator to allow that behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilitycustomer: mulligan (g3)f: material designflutter/packages/flutter/material repository.frameworkflutter/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