-
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 capabilityf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
This is my opinion, so check if it makes sense to you.
Personally I think what makes sense is that if you set maxLines=null it logically means it is unbounded, reason why the textField should inherit it's parents constraints instead of starting with one line and growing to it.
If the current behaviour is required by some people, then I suggest a flag be added to control whether it should minimize or maximize it's footprint, similarly to the column with it's MainAxisSize.min and MainAxisSize.max
This is what I propose so that the TextField's syntax makes a little more sense, at least to me.
InsanityOnABun, juliovedovatto, xia-weiyang, kitoko552, pejalo and 4 more
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 capabilityf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.