use overloaded title style for loading

This commit is contained in:
fuwa
2019-09-25 17:48:09 +08:00
parent cfb232e9c9
commit fc2771ccf3
2 changed files with 12 additions and 5 deletions
+8 -4
View File
@@ -35,23 +35,27 @@ final _theme = ThemeData
scaffoldBackgroundColor: Colors.black,
fontFamily: 'RobotoMono',
textTheme: TextTheme
(
display1: TextStyle
(
fontSize: 35,
fontWeight: FontWeight.bold,
fontFamily: 'RobotoMono',
),
title: TextStyle
(
fontSize: 22,
),
subhead: TextStyle
(
fontSize: 22,
fontFamily: 'VT323',
fontSize: 17,
fontWeight: FontWeight.bold,
),
body2: TextStyle
(
fontSize: 11,
fontFamily: 'RobotoMono',
),
).apply
(
+4 -1
View File
@@ -49,7 +49,10 @@ Widget buildLoading(BuildContext context, LoadingState state) {
child: Text
(
state.status,
style: Theme.of(context).textTheme.subhead,
style: Theme.of(context).textTheme.title.apply
(
fontFamily: 'VT323',
),
)
)
)