Commit 018cef61 authored by Viktor Lidholt's avatar Viktor Lidholt

Adds default text style

parent ff3e6366
...@@ -119,8 +119,10 @@ class GameDemoState extends State<GameDemo> { ...@@ -119,8 +119,10 @@ class GameDemoState extends State<GameDemo> {
width: 128.0, width: 128.0,
height: 128.0 height: 128.0
), ),
new Text( new DefaultTextStyle(
"Last Score: $_lastScore", child: new Text(
"Last Score: $_lastScore"
),
style: new TextStyle(fontSize:20.0) style: new TextStyle(fontSize:20.0)
) )
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment