Skip to content

Commit 5aa6608

Browse files
Update main.dart
1 parent ca7605b commit 5aa6608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ class _MyAppState extends State<MyApp> {
105105
textAlign: TextAlign.center,
106106
),
107107
actions: <Widget>[
108-
FlatButton(
108+
TextButton(
109109
child: const Text('CANCEL'),
110110
onPressed: () {
111111
Navigator.pop(context, DialogDemoAction.cancel);
112112
}),
113-
FlatButton(
113+
TextButton(
114114
child: const Text('CONNECT'),
115115
onPressed: () {
116116
Navigator.pop(context, DialogDemoAction.connect);

0 commit comments

Comments
 (0)