Remove center widget
This commit is contained in:
parent
0bd4dad772
commit
9633693c9b
|
@ -30,8 +30,7 @@ class KanjiView extends StatelessWidget {
|
|||
class KanjiViewBar extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Center(
|
||||
child: Container(
|
||||
return Container(
|
||||
child: Row(
|
||||
children: [
|
||||
IconButton(
|
||||
|
@ -40,7 +39,7 @@ class KanjiViewBar extends StatelessWidget {
|
|||
.add(ReturnToInitialState()),
|
||||
),
|
||||
Expanded(
|
||||
child: Padding(
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(vertical: 10.0),
|
||||
child: TextField(
|
||||
onSubmitted: (text) =>
|
||||
|
@ -66,7 +65,6 @@ class KanjiViewBar extends StatelessWidget {
|
|||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue