TaskFormDialog constructor
const
TaskFormDialog({})
Creates a TaskFormDialog.
The onSave callback is required and is called when the form is submitted
with valid data.
Implementation
const TaskFormDialog({
super.key,
required this.onSave,
this.initialTitle,
this.initialSubtitle,
this.dialogTitle = 'Add New Task',
this.submitLabel = 'Add',
});