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) {
margin: const EdgeInsets.all(10.0),
child: Row(
children: <Widget>[
RaisedButton(
ElevatedButton(
child: Row(
children: <Widget>[
Image.network('https://flutter.dev/images/favicon.png'),
......
......@@ -65,7 +65,7 @@ class _PlatformChannelState extends State<PlatformChannel> {
Text(_batteryLevel, key: const Key('Battery level label')),
Padding(
padding: const EdgeInsets.all(16.0),
child: RaisedButton(
child: ElevatedButton(
child: const Text('Refresh'),
onPressed: _getBatteryLevel,
),
......
......@@ -65,7 +65,7 @@ class _PlatformChannelState extends State<PlatformChannel> {
Text(_batteryLevel, key: const Key('Battery level label')),
Padding(
padding: const EdgeInsets.all(16.0),
child: RaisedButton(
child: ElevatedButton(
child: const Text('Refresh'),
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