mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 19:16:09 +00:00
31 lines
715 B
Dart
31 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);
|
||
|
}
|