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 33// BSD-style license that can be found in the LICENSE file.
44
55import 'package:firebase_auth/firebase_auth.dart' as fba;
6+ import 'package:firebase_ui_localizations/firebase_ui_localizations.dart' ;
67import 'package:firebase_ui_shared/firebase_ui_shared.dart' ;
78import 'package:flutter/cupertino.dart' ;
8- import 'package:firebase_ui_localizations/firebase_ui_localizations.dart' ;
99import 'package:flutter/material.dart' ;
1010
1111import '../actions.dart' ;
@@ -140,11 +140,14 @@ class _EditableUserDisplayNameState extends State<EditableUserDisplayName> {
140140 ),
141141 );
142142 } 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+ ),
148151 );
149152 }
150153
You can’t perform that action at this time.
0 commit comments