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

This commit is contained in:
Hans Muller 2020-08-08 18:20:34 -07:00 committed by GitHub
parent 8798bc43af
commit 61349ca6c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -64,13 +64,13 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
Row(
children: <Widget>[
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<MotionEventsBody> {
),
),
Expanded(
child: RaisedButton(
child: ElevatedButton(
child: const Text('SAVE'),
onPressed: () {
const StandardMessageCodec codec = StandardMessageCodec();
@ -91,14 +91,14 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
),
),
Expanded(
child: RaisedButton(
child: ElevatedButton(
key: const ValueKey<String>('play'),
child: const Text('PLAY FILE'),
onPressed: () { playEventsFile(); },
),
),
Expanded(
child: RaisedButton(
child: ElevatedButton(
key: const ValueKey<String>('back'),
child: const Text('BACK'),
onPressed: () { Navigator.pop(context); },

View file

@ -60,24 +60,24 @@ class NestedViewEventBodyState extends State<NestedViewEventBody> {
),
if (lastTestStatus != _LastTestStatus.pending) _statusWidget(),
if (viewChannel != null) ... <Widget>[
RaisedButton(
ElevatedButton(
key: const ValueKey<String>('ShowAlertDialog'),
child: const Text('SHOW ALERT DIALOG'),
onPressed: onShowAlertDialogPressed,
),
RaisedButton(
ElevatedButton(
key: const ValueKey<String>('TogglePlatformView'),
child: const Text('TOGGLE PLATFORM VIEW'),
onPressed: onTogglePlatformView,
),
Row(
children: <Widget>[
RaisedButton(
ElevatedButton(
key: const ValueKey<String>('AddChildView'),
child: const Text('ADD CHILD VIEW'),
onPressed: onChildViewPressed,
),
RaisedButton(
ElevatedButton(
key: const ValueKey<String>('TapChildView'),
child: const Text('TAP CHILD VIEW'),
onPressed: onTapChildViewPressed,