Updated old button references in dev/integration_tests/ui (#63213)
This commit is contained in:
parent
5d91d0484c
commit
46e1f91c18
@ -37,7 +37,7 @@ class DriverTestAppState extends State<DriverTestApp> {
|
||||
Expanded(
|
||||
child: Text(present ? 'present' : 'absent'),
|
||||
),
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
child: const Text(
|
||||
'toggle',
|
||||
key: ValueKey<String>('togglePresent'),
|
||||
|
@ -13,7 +13,7 @@ void main() {
|
||||
home: Material(
|
||||
child: Builder(
|
||||
builder: (BuildContext context) {
|
||||
return FlatButton(
|
||||
return TextButton(
|
||||
child: const Text(
|
||||
'flutter drive lib/xxx.dart',
|
||||
textDirection: TextDirection.ltr,
|
||||
|
@ -33,7 +33,7 @@ class TogglerState extends State<Toggler> {
|
||||
body: Material(
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
FlatButton(
|
||||
TextButton(
|
||||
key: const ValueKey<String>('toggle'),
|
||||
child: const Text('Toggle visibility'),
|
||||
onPressed: () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user