From 61349ca6c59bdb9e114d6ff3a41757cde8bd5cc2 Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Sat, 8 Aug 2020 18:20:34 -0700 Subject: [PATCH] Updated old button references in dev/integration_tests/hybrid_android_views (#63215) --- .../hybrid_android_views/lib/motion_events_page.dart | 10 +++++----- .../lib/nested_view_event_page.dart | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dev/integration_tests/hybrid_android_views/lib/motion_events_page.dart b/dev/integration_tests/hybrid_android_views/lib/motion_events_page.dart index 1ae3df1f9b7..b6600fdbb70 100644 --- a/dev/integration_tests/hybrid_android_views/lib/motion_events_page.dart +++ b/dev/integration_tests/hybrid_android_views/lib/motion_events_page.dart @@ -64,13 +64,13 @@ class MotionEventsBodyState extends State { Row( children: [ Expanded( - child: RaisedButton( + child: ElevatedButton( child: const Text('RECORD'), onPressed: listenToFlutterViewEvents, ), ), Expanded( - child: RaisedButton( + child: ElevatedButton( child: const Text('CLEAR'), onPressed: () { setState(() { @@ -81,7 +81,7 @@ class MotionEventsBodyState extends State { ), ), Expanded( - child: RaisedButton( + child: ElevatedButton( child: const Text('SAVE'), onPressed: () { const StandardMessageCodec codec = StandardMessageCodec(); @@ -91,14 +91,14 @@ class MotionEventsBodyState extends State { ), ), Expanded( - child: RaisedButton( + child: ElevatedButton( key: const ValueKey('play'), child: const Text('PLAY FILE'), onPressed: () { playEventsFile(); }, ), ), Expanded( - child: RaisedButton( + child: ElevatedButton( key: const ValueKey('back'), child: const Text('BACK'), onPressed: () { Navigator.pop(context); }, diff --git a/dev/integration_tests/hybrid_android_views/lib/nested_view_event_page.dart b/dev/integration_tests/hybrid_android_views/lib/nested_view_event_page.dart index a5597b3bbd7..ae86c4acc98 100644 --- a/dev/integration_tests/hybrid_android_views/lib/nested_view_event_page.dart +++ b/dev/integration_tests/hybrid_android_views/lib/nested_view_event_page.dart @@ -60,24 +60,24 @@ class NestedViewEventBodyState extends State { ), if (lastTestStatus != _LastTestStatus.pending) _statusWidget(), if (viewChannel != null) ... [ - RaisedButton( + ElevatedButton( key: const ValueKey('ShowAlertDialog'), child: const Text('SHOW ALERT DIALOG'), onPressed: onShowAlertDialogPressed, ), - RaisedButton( + ElevatedButton( key: const ValueKey('TogglePlatformView'), child: const Text('TOGGLE PLATFORM VIEW'), onPressed: onTogglePlatformView, ), Row( children: [ - RaisedButton( + ElevatedButton( key: const ValueKey('AddChildView'), child: const Text('ADD CHILD VIEW'), onPressed: onChildViewPressed, ), - RaisedButton( + ElevatedButton( key: const ValueKey('TapChildView'), child: const Text('TAP CHILD VIEW'), onPressed: onTapChildViewPressed,