mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-20 00:38:46 +02:00
use overloaded title style for loading
This commit is contained in:
@@ -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
|
||||
(
|
||||
|
||||
@@ -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',
|
||||
),
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user