Updated references to obsolete Material button classes in examples (#65904)
This commit is contained in:
parent
82706d730b
commit
b2b5f2636a
@ -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,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user