Unverified Commit b2b5f263 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated references to obsolete Material button classes in examples (#65904)

parent 82706d73
...@@ -50,7 +50,7 @@ void attachWidgetTreeToRenderTree(RenderProxyBox container) { ...@@ -50,7 +50,7 @@ void attachWidgetTreeToRenderTree(RenderProxyBox container) {
margin: const EdgeInsets.all(10.0), margin: const EdgeInsets.all(10.0),
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
RaisedButton( ElevatedButton(
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Image.network('https://flutter.dev/images/favicon.png'), Image.network('https://flutter.dev/images/favicon.png'),
......
...@@ -65,7 +65,7 @@ class _PlatformChannelState extends State<PlatformChannel> { ...@@ -65,7 +65,7 @@ class _PlatformChannelState extends State<PlatformChannel> {
Text(_batteryLevel, key: const Key('Battery level label')), Text(_batteryLevel, key: const Key('Battery level label')),
Padding( Padding(
padding: const EdgeInsets.all(16.0), padding: const EdgeInsets.all(16.0),
child: RaisedButton( child: ElevatedButton(
child: const Text('Refresh'), child: const Text('Refresh'),
onPressed: _getBatteryLevel, onPressed: _getBatteryLevel,
), ),
......
...@@ -65,7 +65,7 @@ class _PlatformChannelState extends State<PlatformChannel> { ...@@ -65,7 +65,7 @@ class _PlatformChannelState extends State<PlatformChannel> {
Text(_batteryLevel, key: const Key('Battery level label')), Text(_batteryLevel, key: const Key('Battery level label')),
Padding( Padding(
padding: const EdgeInsets.all(16.0), padding: const EdgeInsets.all(16.0),
child: RaisedButton( child: ElevatedButton(
child: const Text('Refresh'), child: const Text('Refresh'),
onPressed: _getBatteryLevel, onPressed: _getBatteryLevel,
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment