test(app): run summary hashes use the bundled monospace family
This commit is contained in:
@@ -160,7 +160,9 @@ Widget _materialRow(BuildContext context, DetailSummaryRow row) {
|
||||
),
|
||||
subtitle: SelectableText(
|
||||
row.value,
|
||||
style: row.monospace ? base?.copyWith(fontFamily: appMonospaceFamily) : base,
|
||||
style: row.monospace
|
||||
? base?.copyWith(fontFamily: appMonospaceFamily)
|
||||
: base,
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -189,7 +191,9 @@ Widget _materialBlock(BuildContext context, DetailSummaryRow row) {
|
||||
),
|
||||
child: SelectableText(
|
||||
row.value,
|
||||
style: theme.textTheme.bodySmall?.copyWith(fontFamily: appMonospaceFamily),
|
||||
style: theme.textTheme.bodySmall?.copyWith(
|
||||
fontFamily: appMonospaceFamily,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -280,7 +284,9 @@ Widget _cupertinoRow(BuildContext context, DetailSummaryRow row) {
|
||||
title: Text(row.label),
|
||||
subtitle: Text(
|
||||
row.value,
|
||||
style: row.monospace ? style.copyWith(fontFamily: appMonospaceFamily) : null,
|
||||
style: row.monospace
|
||||
? style.copyWith(fontFamily: appMonospaceFamily)
|
||||
: null,
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -309,7 +315,9 @@ Widget _cupertinoBlock(BuildContext context, DetailSummaryRow row) {
|
||||
),
|
||||
child: Text(
|
||||
row.value,
|
||||
style: theme.textTheme.textStyle.copyWith(fontFamily: appMonospaceFamily),
|
||||
style: theme.textTheme.textStyle.copyWith(
|
||||
fontFamily: appMonospaceFamily,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user