Feat: Fügt einen dynamisch erstell- und anzeigbaren Dialog hinzu

This commit is contained in:
2025-12-23 01:00:23 +01:00
parent 016ba85416
commit 246c0401cc
4 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/// Action/Knopf für den Dialog
class DialogAction {
/// Erstellt eine neue Aktion für den Dialog
DialogAction({required this.label, this.isPrimary = false, this.onPressed});
/// Das Label der Aktion
final String label;
/// Ob es die primäre Aktion ist
final bool isPrimary;
/// Was bei einem Knopfdruck passieren soll
final void Function(Map<String, String> inputValues)? onPressed;
}