Removed remaining obsolete button widget references (#67440)
This commit is contained in:
@@ -43,7 +43,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
title: Text(widget.title),
|
||||
),
|
||||
body: Column(children: <Widget>[
|
||||
FlatButton(
|
||||
TextButton(
|
||||
key: const ValueKey<String>('platform_view_button'),
|
||||
child: const Text('show platform view'),
|
||||
onPressed: () {
|
||||
@@ -55,7 +55,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
},
|
||||
),
|
||||
// Push this button to perform an animation, which ensure the threads are unmerged after the animation.
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
key: const ValueKey<String>('unmerge_button'),
|
||||
child: const Text('Tap to unmerge threads'),
|
||||
onPressed: () {},
|
||||
@@ -82,7 +82,7 @@ class PlatformViewPage extends StatelessWidget {
|
||||
width: 300,
|
||||
height: 300,
|
||||
),
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
key: button,
|
||||
child: const Text('button'),
|
||||
onPressed: (){},
|
||||
|
||||
Reference in New Issue
Block a user