Merge pull request #55 from cake-tech/CWA-207-update-pin-screen

CWA-207 | applied new design to pin code page; added pin alert dialog…
This commit is contained in:
Oleksandr Sobol
2020-05-01 23:00:40 +03:00
committed by GitHub
11 changed files with 122 additions and 43 deletions
+4 -1
View File
@@ -9,6 +9,7 @@ class BaseAlertDialog extends StatelessWidget {
String get rightActionButtonText => '';
VoidCallback get actionLeft => () {};
VoidCallback get actionRight => () {};
bool get barrierDismissible => true;
Widget title(BuildContext context) {
return Text(
@@ -113,7 +114,9 @@ class BaseAlertDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () => Navigator.of(context).pop(),
onTap: () => barrierDismissible
? Navigator.of(context).pop()
: null,
child: Container(
color: Colors.transparent,
child: BackdropFilter(