Want to use the SelectableDayPredicate to limit my DatePicker to only weekdays? Here is an example where I omit Fridays and Saturdays from the picker, you can follow the logic here to achieve what you want:
1 2 | selectableDayPredicate: (DateTime val) => val.weekday == 5 || val.weekday == 6 ? false : true, |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.