feat: fixed ui

pull/98/head
RuiAlonso 4 years ago
parent 8305635677
commit 8badec1dbc

@ -18,7 +18,7 @@ class GameOverDialog extends StatelessWidget {
return Dialog( return Dialog(
child: SizedBox( child: SizedBox(
width: 200, width: 200,
height: 200, height: 250,
child: Center( child: Center(
child: Padding( child: Padding(
padding: const EdgeInsets.all(10), padding: const EdgeInsets.all(10),
@ -30,14 +30,14 @@ class GameOverDialog extends StatelessWidget {
style: Theme.of(context).textTheme.headline4, style: Theme.of(context).textTheme.headline4,
), ),
const SizedBox( const SizedBox(
height: 10, height: 20,
), ),
Text( Text(
'Your score is $score', 'Your score is $score',
style: Theme.of(context).textTheme.headline6, style: Theme.of(context).textTheme.headline6,
), ),
const SizedBox( const SizedBox(
height: 10, height: 15,
), ),
const TextField( const TextField(
decoration: InputDecoration( decoration: InputDecoration(

Loading…
Cancel
Save