Centering trivia answer text

pull/61/head
Andrew Brogdon 8 years ago
parent 8596d85b6c
commit e88df87530

@ -164,7 +164,10 @@ class _TriviaViewState extends State<TriviaView> {
padding: const EdgeInsets.all(8.0),
child: CupertinoButton(
color: CupertinoColors.activeBlue,
child: Text(currentTrivia.answers[i]),
child: Text(
currentTrivia.answers[i],
textAlign: TextAlign.center,
),
onPressed: () => _processAnswer(i),
),
));

Loading…
Cancel
Save