mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Updated old button references in dev/integration_tests/flutter_gallery ... banner_demo (#63402)
This commit is contained in:
parent
0ea5e00276
commit
5a5332a7c7
@ -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(() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user