Adds default text style

This commit is contained in:
Viktor Lidholt
2015-10-06 09:28:05 -07:00
parent 4599f809dc
commit bf4342fa9a
+4 -2
View File
@@ -119,8 +119,10 @@ class GameDemoState extends State<GameDemo> {
width: 128.0,
height: 128.0
),
new Text(
"Last Score: $_lastScore",
new DefaultTextStyle(
child: new Text(
"Last Score: $_lastScore"
),
style: new TextStyle(fontSize:20.0)
)
],