mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 19:16:09 +00:00
cf1e8a306c
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* add passphrase to credentials * prevent double restoring * fix conflict, simplify restricting user from tapping restore multiple times --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
30 lines
715 B
Dart
30 lines
715 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:cake_wallet/src/widgets/base_alert_dialog.dart';
|
|
|
|
class AlertWithNoAction extends BaseAlertDialog {
|
|
AlertWithNoAction({
|
|
required this.alertTitle,
|
|
required this.alertContent,
|
|
this.alertBarrierDismissible = true,
|
|
Key? key,
|
|
});
|
|
|
|
final String alertTitle;
|
|
final String alertContent;
|
|
final bool alertBarrierDismissible;
|
|
|
|
@override
|
|
String get titleText => alertTitle;
|
|
|
|
@override
|
|
String get contentText => alertContent;
|
|
|
|
@override
|
|
bool get barrierDismissible => alertBarrierDismissible;
|
|
|
|
@override
|
|
bool get isBottomDividerExists => false;
|
|
|
|
@override
|
|
Widget actionButtons(BuildContext context) => Container(height: 60);
|
|
}
|