mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Update for Material changes & run rebuild scripts (#1412)
This commit is contained in:
@@ -24,7 +24,7 @@ class ItemTile extends StatelessWidget {
|
||||
color: item.color,
|
||||
),
|
||||
),
|
||||
title: Text(item.name, style: Theme.of(context).textTheme.headline6),
|
||||
title: Text(item.name, style: Theme.of(context).textTheme.titleLarge),
|
||||
trailing: Text('\$ ${(item.price / 100).toStringAsFixed(2)}'),
|
||||
),
|
||||
);
|
||||
@@ -45,7 +45,7 @@ class LoadingItemTile extends StatelessWidget {
|
||||
aspectRatio: 1,
|
||||
child: Placeholder(),
|
||||
),
|
||||
title: Text('...', style: Theme.of(context).textTheme.headline6),
|
||||
title: Text('...', style: Theme.of(context).textTheme.titleLarge),
|
||||
trailing: const Text('\$ ...'),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user