Skip to content

I want to make TextField scrollable in both horizontal & vertical direction #54000

@predatorx7

Description

@predatorx7

I want the ability to scroll multiline TextField in both horizontal or vertical direction. Currently, the Scrollable widget used by EditableText only allows scrolling in one direction i.e AxisDirection.down when multiline. My problem is it wraps overflowing text which is understandable but I want to scroll not wrap text.

I've tried diagonal_scrollview but it doesn't work for TextField properly. Is there another way to achieve this effect?

My Screen layout looks like this:
flutter_02
The Layout is roughly like:
Scaffold -> body: NestedScrollView body: MyCustomTextField -> Column[ConstrainedBox -> ListView.builder, Expanded -> EditableText]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions