Implement key sharing

This commit is contained in:
Christian Pauly 2020-02-22 08:27:08 +01:00
commit c22b792fa0
12 changed files with 199 additions and 7 deletions

View file

@ -70,6 +70,7 @@ class SimpleDialogs {
Future<bool> askConfirmation({
String titleText,
String contentText,
String confirmText,
String cancelText,
}) async {
@ -78,6 +79,7 @@ class SimpleDialogs {
context: context,
builder: (c) => AlertDialog(
title: Text(titleText ?? I18n.of(context).areYouSure),
content: contentText != null ? Text(contentText) : null,
actions: <Widget>[
FlatButton(
child: Text(