Skip to content

Commit 6e19eac

Browse files
authored
Merge pull request #186 from MayurSMahajan/patch-1
Using TextButton instead of FlatButton
2 parents ca7605b + 5aa6608 commit 6e19eac

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)