2021-02-15 20:58:29 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class BrandAlert extends AlertDialog {
|
|
|
|
BrandAlert({
|
2021-03-15 17:39:44 +02:00
|
|
|
Key? key,
|
|
|
|
String? title,
|
|
|
|
String? contentText,
|
|
|
|
List<Widget>? acitons,
|
2021-02-15 20:58:29 +02:00
|
|
|
}) : super(
|
|
|
|
key: key,
|
|
|
|
title: title != null ? Text(title) : null,
|
2021-03-15 17:39:44 +02:00
|
|
|
content: title != null ? Text(contentText!) : null,
|
2021-02-15 20:58:29 +02:00
|
|
|
actions: acitons,
|
|
|
|
);
|
|
|
|
}
|