• Adam Barth's avatar
    TextField centering should work in loose constraints (#9153) · 20015400
    Adam Barth authored
    We should always use the maxWidth from the incomming constraints to size the
    text inside the editable because the EditableText itself always expands to fill
    its width.
    
    Also, make sure InputDecoration always expands horizontially (even when there's
    no icon) for consistency.
    
    Fixes #9149
    20015400
text_field_test.dart 29.2 KB