/// 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 inputValues)? onPressed; }