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,
fontFamily: 'RobotoMono',
textTheme: TextTheme
(
display1: TextStyle
(
fontSize: 35,
fontWeight: FontWeight.bold,
fontFamily: 'RobotoMono',
),
subhead: TextStyle
title: TextStyle
(
fontSize: 22,
fontFamily: 'VT323',
),
subhead: TextStyle
(
fontSize: 17,
fontWeight: FontWeight.bold,
),
body2: TextStyle
(
fontSize: 11,
fontFamily: 'RobotoMono',
),
).apply
(

@ -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',
),
)
)
)