use overloaded title style for loading

pull/2/head
fuwa 5 years ago
parent cfb232e9c9
commit fc2771ccf3

@ -35,23 +35,27 @@ final _theme = ThemeData
scaffoldBackgroundColor: Colors.black, scaffoldBackgroundColor: Colors.black,
fontFamily: 'RobotoMono',
textTheme: TextTheme textTheme: TextTheme
( (
display1: TextStyle display1: TextStyle
( (
fontSize: 35, fontSize: 35,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontFamily: 'RobotoMono',
), ),
subhead: TextStyle title: TextStyle
( (
fontSize: 22, fontSize: 22,
fontFamily: 'VT323', ),
subhead: TextStyle
(
fontSize: 17,
fontWeight: FontWeight.bold,
), ),
body2: TextStyle body2: TextStyle
( (
fontSize: 11, fontSize: 11,
fontFamily: 'RobotoMono',
), ),
).apply ).apply
( (

@ -49,7 +49,10 @@ Widget buildLoading(BuildContext context, LoadingState state) {
child: Text child: Text
( (
state.status, state.status,
style: Theme.of(context).textTheme.subhead, style: Theme.of(context).textTheme.title.apply
(
fontFamily: 'VT323',
),
) )
) )
) )