mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
Adds default text style
This commit is contained in:
@@ -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)
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user