onSubmitDate property
void Function(Jalali selectedDate)
onSubmitDate
final
This gets called when user selects a date and taps the Submit button. use selectedDate.formatter to access all details of the user's selected date
It is recommended to call pop if you are using PersianDatePicker inside a BottomSheet / Dialog
Implementation
final void Function(Jalali selectedDate) onSubmitDate;