Disabling particular days in Flutter CupertinoDatePicker

Issue

Is there any way to disable/hide particular days of the week in CupertinoDatePicker?

For example, I want to disable Monday, Tuesday and Friday.

Solution

It is not supported at this moment. If you desire that the best option is to fork the implementation and add the pieces you need.

You can find the picker in the official repository of Flutter.

Answered By – Tomáลก Linhart

Answer Checked By – Senaida (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.