Unverified Commit 5a5332a7 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated old button references in dev/integration_tests/flutter_gallery ... banner_demo (#63402)

parent 0ea5e002
...@@ -51,7 +51,7 @@ class _BannerDemoState extends State<BannerDemo> { ...@@ -51,7 +51,7 @@ class _BannerDemoState extends State<BannerDemo> {
content: const Text('Your password was updated on your other device. Please sign in again.'), content: const Text('Your password was updated on your other device. Please sign in again.'),
leading: _showLeading ? const CircleAvatar(child: Icon(Icons.access_alarm)) : null, leading: _showLeading ? const CircleAvatar(child: Icon(Icons.access_alarm)) : null,
actions: <Widget>[ actions: <Widget>[
FlatButton( TextButton(
child: const Text('SIGN IN'), child: const Text('SIGN IN'),
onPressed: () { onPressed: () {
setState(() { setState(() {
...@@ -60,7 +60,7 @@ class _BannerDemoState extends State<BannerDemo> { ...@@ -60,7 +60,7 @@ class _BannerDemoState extends State<BannerDemo> {
}, },
), ),
if (_showMultipleActions) if (_showMultipleActions)
FlatButton( TextButton(
child: const Text('DISMISS'), child: const Text('DISMISS'),
onPressed: () { onPressed: () {
setState(() { setState(() {
......
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