-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
This is the only way I have been able to achieve this and its pretty hacky. Would be nice if TextFields were able to expand vertically to fit the container.
Container(
margin: EdgeInsets.all(8.0),
// hack textfield height
padding: EdgeInsets.only(bottom: 40.0),
child: TextField(
maxLines: 99,
decoration: InputDecoration(
hintText: "Comment!",
border: OutlineInputBorder(),
),
),
),Kanunnikoff, Will-W, mhdhejazi, ryanhz, trietbui85 and 14 moreAshutoshparasAshutoshparaskururu-abdo
Metadata
Metadata
Assignees
Labels
a: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.