mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-09-19 01:47:51 +00:00
16 lines
370 B
Dart
16 lines
370 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class BrandAlert extends AlertDialog {
|
|
BrandAlert({
|
|
Key? key,
|
|
String? title,
|
|
String? contentText,
|
|
List<Widget>? acitons,
|
|
}) : super(
|
|
key: key,
|
|
title: title != null ? Text(title) : null,
|
|
content: title != null ? Text(contentText!) : null,
|
|
actions: acitons,
|
|
);
|
|
}
|