[MaterialDatePicker] Adding an optional 'Clear' button
This change adds an optional 'Clear' button that can be used to remove the selected date with the option to calling a clear listener and dismissing the dialog when clicked.
closes #1332
Note: This is the same code as previously submitted as a pull request but it has been rebased against the latest codebase as of 18 December 2022
I have updated the full screen date picker to support the clear function
Can you rebase your cl on the head of the repository?
There seems some merge problem when I pulled it for our internal review.
It was a bit messy with a force push but I managed to rebase to the HEAD. Should be good now
It seems working now. Thank you! : )