diff --git a/examples/layers/widgets/spinning_mixed.dart b/examples/layers/widgets/spinning_mixed.dart index 76a3e89788..0942c1a89e 100644 --- a/examples/layers/widgets/spinning_mixed.dart +++ b/examples/layers/widgets/spinning_mixed.dart @@ -50,7 +50,7 @@ void attachWidgetTreeToRenderTree(RenderProxyBox container) { margin: const EdgeInsets.all(10.0), child: Row( children: [ - RaisedButton( + ElevatedButton( child: Row( children: [ Image.network('https://flutter.dev/images/favicon.png'), diff --git a/examples/platform_channel/lib/main.dart b/examples/platform_channel/lib/main.dart index d83cde2f41..6ea0581409 100644 --- a/examples/platform_channel/lib/main.dart +++ b/examples/platform_channel/lib/main.dart @@ -65,7 +65,7 @@ class _PlatformChannelState extends State { 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, ), diff --git a/examples/platform_channel_swift/lib/main.dart b/examples/platform_channel_swift/lib/main.dart index d83cde2f41..6ea0581409 100644 --- a/examples/platform_channel_swift/lib/main.dart +++ b/examples/platform_channel_swift/lib/main.dart @@ -65,7 +65,7 @@ class _PlatformChannelState extends State { 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, ),