mirror of
https://github.com/flutter/samples.git
synced 2025-11-13 00:08:24 +00:00
Update for Material changes & run rebuild scripts (#1412)
This commit is contained in:
@@ -75,7 +75,7 @@ class _MyAppBar extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SliverAppBar(
|
||||
title: Text('Catalog', style: Theme.of(context).textTheme.headline1),
|
||||
title: Text('Catalog', style: Theme.of(context).textTheme.displayLarge),
|
||||
floating: true,
|
||||
actions: [
|
||||
IconButton(
|
||||
@@ -99,7 +99,7 @@ class _MyListItem extends StatelessWidget {
|
||||
// about any other change.
|
||||
(catalog) => catalog.getByPosition(index),
|
||||
);
|
||||
var textTheme = Theme.of(context).textTheme.headline6;
|
||||
var textTheme = Theme.of(context).textTheme.titleLarge;
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
|
||||
Reference in New Issue
Block a user