'Flutter customizable calendar dialog datepicker widget

everyone I'm customizing a DatePicker, in my app, and after some research I've found that it's not possible to have different styles/colors for the cancel and ok buttons.

enter image description here

I would need to change some files in the dart.sdk, I think, which would automatically cancel everytime we get an update.

My graphic-designer warned me that it would be a very bad practice to have two buttons with complete opposite purposes, with the same exact style. I would like to keep the dialog window aspect of the DatePicker, as in a pop-up that opens when you click an Icon on a FormField. Is there actually a way I can change something visually between these buttons, and if not, is there any DatePicker external library that would help me accomplish what I need?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source