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

16 lines
370 B
Dart
Raw Normal View History

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