Implement key sharing
This commit is contained in:
parent
a5d0cba0e5
commit
c22b792fa0
12 changed files with 199 additions and 7 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue