File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
packages/firebase_ui_auth/lib/src/widgets Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
5
import 'package:firebase_auth/firebase_auth.dart' as fba;
6
+ import 'package:firebase_ui_localizations/firebase_ui_localizations.dart' ;
6
7
import 'package:firebase_ui_shared/firebase_ui_shared.dart' ;
7
8
import 'package:flutter/cupertino.dart' ;
8
- import 'package:firebase_ui_localizations/firebase_ui_localizations.dart' ;
9
9
import 'package:flutter/material.dart' ;
10
10
11
11
import '../actions.dart' ;
@@ -140,11 +140,14 @@ class _EditableUserDisplayNameState extends State<EditableUserDisplayName> {
140
140
),
141
141
);
142
142
} else {
143
- textField = TextField (
144
- autofocus: true ,
145
- controller: ctrl,
146
- decoration: InputDecoration (hintText: l.name, labelText: l.name),
147
- onSubmitted: (_) => _finishEditing (),
143
+ textField = Padding (
144
+ padding: const EdgeInsets .symmetric (vertical: 5.5 ),
145
+ child: TextField (
146
+ autofocus: true ,
147
+ controller: ctrl,
148
+ decoration: InputDecoration (hintText: l.name, labelText: l.name),
149
+ onSubmitted: (_) => _finishEditing (),
150
+ ),
148
151
);
149
152
}
150
153
You can’t perform that action at this time.
0 commit comments