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:
@@ -18,7 +18,7 @@ class EventChannelDemo extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final textStyle = Theme.of(context).textTheme.headline5;
|
||||
final textStyle = Theme.of(context).textTheme.headlineSmall;
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('EventChannel Demo'),
|
||||
|
||||
@@ -30,7 +30,7 @@ class _MethodChannelDemoState extends State<MethodChannelDemo> {
|
||||
children: [
|
||||
Text(
|
||||
'Value of count is $count',
|
||||
style: Theme.of(context).textTheme.headline5,
|
||||
style: Theme.of(context).textTheme.headlineSmall,
|
||||
),
|
||||
const SizedBox(
|
||||
height: 16,
|
||||
|
||||
Reference in New Issue
Block a user