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

This commit is contained in:
Hans Muller 2020-08-11 07:46:23 -07:00 committed by GitHub
parent 0ea5e00276
commit 5a5332a7c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ class _BannerDemoState extends State<BannerDemo> {
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,
actions: <Widget>[
FlatButton(
TextButton(
child: const Text('SIGN IN'),
onPressed: () {
setState(() {
@ -60,7 +60,7 @@ class _BannerDemoState extends State<BannerDemo> {
},
),
if (_showMultipleActions)
FlatButton(
TextButton(
child: const Text('DISMISS'),
onPressed: () {
setState(() {