Skip to content

Commit 3027117

Browse files
author
Rex B Ferrer
authored
Updated TextStyles in product_card.dart (#186)
Updated with new TextStyles.
1 parent 48ba356 commit 3027117

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mdc_100_series/lib/supplemental/product_card.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,17 @@ class ProductCard extends StatelessWidget {
5353
mainAxisAlignment: MainAxisAlignment.end,
5454
crossAxisAlignment: CrossAxisAlignment.center,
5555
children: <Widget>[
56-
// TODO(larche): Make headline6 when available
5756
Text(
5857
product == null ? '' : product.name,
59-
style: theme.textTheme.button,
58+
style: theme.textTheme.headline6,
6059
softWrap: false,
6160
overflow: TextOverflow.ellipsis,
6261
maxLines: 1,
6362
),
6463
SizedBox(height: 4.0),
65-
// TODO(larche): Make subtitle2 when available
6664
Text(
6765
product == null ? '' : formatter.format(product.price),
68-
style: theme.textTheme.caption,
66+
style: theme.textTheme.subtitle2,
6967
),
7068
],
7169
),

0 commit comments

Comments
 (0)