selfprivacy.org.app/lib/ui/components/brand_alert/brand_alert.dart

14 lines
327 B
Dart
Raw Normal View History

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