Unverified Commit 46e1f91c authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated old button references in dev/integration_tests/ui (#63213)

parent 5d91d048
...@@ -37,7 +37,7 @@ class DriverTestAppState extends State<DriverTestApp> { ...@@ -37,7 +37,7 @@ class DriverTestAppState extends State<DriverTestApp> {
Expanded( Expanded(
child: Text(present ? 'present' : 'absent'), child: Text(present ? 'present' : 'absent'),
), ),
RaisedButton( ElevatedButton(
child: const Text( child: const Text(
'toggle', 'toggle',
key: ValueKey<String>('togglePresent'), key: ValueKey<String>('togglePresent'),
......
...@@ -13,7 +13,7 @@ void main() { ...@@ -13,7 +13,7 @@ void main() {
home: Material( home: Material(
child: Builder( child: Builder(
builder: (BuildContext context) { builder: (BuildContext context) {
return FlatButton( return TextButton(
child: const Text( child: const Text(
'flutter drive lib/xxx.dart', 'flutter drive lib/xxx.dart',
textDirection: TextDirection.ltr, textDirection: TextDirection.ltr,
......
...@@ -33,7 +33,7 @@ class TogglerState extends State<Toggler> { ...@@ -33,7 +33,7 @@ class TogglerState extends State<Toggler> {
body: Material( body: Material(
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
FlatButton( TextButton(
key: const ValueKey<String>('toggle'), key: const ValueKey<String>('toggle'),
child: const Text('Toggle visibility'), child: const Text('Toggle visibility'),
onPressed: () { onPressed: () {
......
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