Unverified Commit 61349ca6 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated old button references in dev/integration_tests/hybrid_android_views (#63215)

parent 8798bc43
...@@ -64,13 +64,13 @@ class MotionEventsBodyState extends State<MotionEventsBody> { ...@@ -64,13 +64,13 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
Row( Row(
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
child: RaisedButton( child: ElevatedButton(
child: const Text('RECORD'), child: const Text('RECORD'),
onPressed: listenToFlutterViewEvents, onPressed: listenToFlutterViewEvents,
), ),
), ),
Expanded( Expanded(
child: RaisedButton( child: ElevatedButton(
child: const Text('CLEAR'), child: const Text('CLEAR'),
onPressed: () { onPressed: () {
setState(() { setState(() {
...@@ -81,7 +81,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> { ...@@ -81,7 +81,7 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
), ),
), ),
Expanded( Expanded(
child: RaisedButton( child: ElevatedButton(
child: const Text('SAVE'), child: const Text('SAVE'),
onPressed: () { onPressed: () {
const StandardMessageCodec codec = StandardMessageCodec(); const StandardMessageCodec codec = StandardMessageCodec();
...@@ -91,14 +91,14 @@ class MotionEventsBodyState extends State<MotionEventsBody> { ...@@ -91,14 +91,14 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
), ),
), ),
Expanded( Expanded(
child: RaisedButton( child: ElevatedButton(
key: const ValueKey<String>('play'), key: const ValueKey<String>('play'),
child: const Text('PLAY FILE'), child: const Text('PLAY FILE'),
onPressed: () { playEventsFile(); }, onPressed: () { playEventsFile(); },
), ),
), ),
Expanded( Expanded(
child: RaisedButton( child: ElevatedButton(
key: const ValueKey<String>('back'), key: const ValueKey<String>('back'),
child: const Text('BACK'), child: const Text('BACK'),
onPressed: () { Navigator.pop(context); }, onPressed: () { Navigator.pop(context); },
......
...@@ -60,24 +60,24 @@ class NestedViewEventBodyState extends State<NestedViewEventBody> { ...@@ -60,24 +60,24 @@ class NestedViewEventBodyState extends State<NestedViewEventBody> {
), ),
if (lastTestStatus != _LastTestStatus.pending) _statusWidget(), if (lastTestStatus != _LastTestStatus.pending) _statusWidget(),
if (viewChannel != null) ... <Widget>[ if (viewChannel != null) ... <Widget>[
RaisedButton( ElevatedButton(
key: const ValueKey<String>('ShowAlertDialog'), key: const ValueKey<String>('ShowAlertDialog'),
child: const Text('SHOW ALERT DIALOG'), child: const Text('SHOW ALERT DIALOG'),
onPressed: onShowAlertDialogPressed, onPressed: onShowAlertDialogPressed,
), ),
RaisedButton( ElevatedButton(
key: const ValueKey<String>('TogglePlatformView'), key: const ValueKey<String>('TogglePlatformView'),
child: const Text('TOGGLE PLATFORM VIEW'), child: const Text('TOGGLE PLATFORM VIEW'),
onPressed: onTogglePlatformView, onPressed: onTogglePlatformView,
), ),
Row( Row(
children: <Widget>[ children: <Widget>[
RaisedButton( ElevatedButton(
key: const ValueKey<String>('AddChildView'), key: const ValueKey<String>('AddChildView'),
child: const Text('ADD CHILD VIEW'), child: const Text('ADD CHILD VIEW'),
onPressed: onChildViewPressed, onPressed: onChildViewPressed,
), ),
RaisedButton( ElevatedButton(
key: const ValueKey<String>('TapChildView'), key: const ValueKey<String>('TapChildView'),
child: const Text('TAP CHILD VIEW'), child: const Text('TAP CHILD VIEW'),
onPressed: onTapChildViewPressed, onPressed: onTapChildViewPressed,
......
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