use textbutton

This commit is contained in:
Salvatore Giordano
2021-03-01 15:42:14 +01:00
parent 9c67284708
commit 12c7368d0c
6 changed files with 43 additions and 39 deletions
@@ -59,7 +59,7 @@ Future<bool> showConfirmationDialog(
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
FlatButton(
TextButton(
child: Text(
cancelText,
style: StreamChatTheme.of(context)
@@ -75,7 +75,7 @@ Future<bool> showConfirmationDialog(
Navigator.of(context).pop(false);
},
),
FlatButton(
TextButton(
child: Text(
okText,
style: StreamChatTheme.of(context)
@@ -145,7 +145,7 @@ Future<bool> showInfoDialog(
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
FlatButton(
TextButton(
child: Text(
okText,
style: TextStyle(