1
0
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:
Brett Morgan
2022-09-01 11:01:17 +10:00
committed by GitHub
parent 83f7059d83
commit 9d8aa333ee
167 changed files with 928 additions and 1061 deletions

View File

@@ -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('\$ ...'),
),
);