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