EditSlotDialog constructor
A dialog for editing or creating a slot.
Edits a slot if slot
is provided and creates a new slot if weekday
is provided.
Implementation
const EditSlotDialog({super.key, this.slot, this.weekday}) : assert(slot != null || weekday != null, 'Either slot or weekday must be provided');