Review use of fontWeight
This commit is contained in:
parent
b3cd82289e
commit
044e33c5d5
|
|
@ -23,7 +23,6 @@ class FieldGrid extends StatelessWidget {
|
|||
localization.lookup(field),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.w300,
|
||||
color: textColor.withOpacity(.65),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -575,7 +575,6 @@ class _LoginState extends State<LoginView> {
|
|||
_loginError,
|
||||
style: TextStyle(
|
||||
color: Colors.red,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -164,8 +164,8 @@ class _DashboardChartState extends State<DashboardChart> {
|
|||
children: <Widget>[
|
||||
Text(localization.lookup(dataGroup.name),
|
||||
style: theme.textTheme.headline5.copyWith(
|
||||
color: isSelected ? Colors.white : null,
|
||||
fontWeight: FontWeight.w400)),
|
||||
color: isSelected ? Colors.white : null,
|
||||
)),
|
||||
SizedBox(height: 4.0),
|
||||
Text(
|
||||
formatNumber(dataGroup.total, context,
|
||||
|
|
@ -183,7 +183,6 @@ class _DashboardChartState extends State<DashboardChart> {
|
|||
: (isIncrease
|
||||
? Colors.green
|
||||
: Colors.red),
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
)
|
||||
: SizedBox(),
|
||||
|
|
|
|||
|
|
@ -548,10 +548,10 @@ class EmailPreview extends StatelessWidget {
|
|||
padding: const EdgeInsets.all(14),
|
||||
child: Text(
|
||||
subject,
|
||||
style: Theme.of(context).textTheme.bodyText1.copyWith(
|
||||
color: Colors.black,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyText1
|
||||
.copyWith(color: Colors.black),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
|
|
|
|||
Loading…
Reference in New Issue