DialogCommand constructor
const
DialogCommand({})
Constructs a new DialogCommand widget with the specified configuration.
The onConfirm parameter is required and defines how the confirmed input is handled.
All other parameters are optional and allow customization of the dialog's appearance and behavior.
The widget is const-constructible for performance optimization in Flutter builds.
Implementation
const DialogCommand(
{super.key,
this.options = const {},
this.keyboardType,
this.obscureText = false,
this.placeholder,
this.initialValue,
this.maxLength,
this.leading,
this.trailing,
required this.onConfirm});