2021-02-15 20:58:29 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
class BrandAlert extends AlertDialog {
|
|
|
|
BrandAlert({
|
2022-10-26 19:26:09 +03:00
|
|
|
super.key,
|
2022-06-05 22:36:32 +03:00
|
|
|
final String? title,
|
|
|
|
final String? contentText,
|
2022-10-26 19:26:09 +03:00
|
|
|
super.actions,
|
2021-02-15 20:58:29 +02:00
|
|
|
}) : super(
|
|
|
|
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
|
|
|
);
|
|
|
|
}
|