import 'package:flutter/material.dart'; /// Ein Input-Feld für den dynamischen Dialog class DialogInputField { /// Erstellt ein neues Input-Feld const DialogInputField({ required this.id, this.label, this.initialValue, this.keyboardType = TextInputType.text, this.obscureText = false, this.autoFocus = false, this.onChanged, }); /// Die Id des InputFelds final String id; /// Der Label des InputFelds final String? label; /// Der initiale Wert des InputFelds final String? initialValue; /// Der InputTyp des InputFeld final TextInputType keyboardType; /// Ob der Text obskur angezeigt werden soll final bool obscureText; /// Ob das Textfeld automatisch fokussiert werden soll final bool autoFocus; /// Was bei Veränderung des Textfeldes geschehen soll final ValueChanged? onChanged; }