I am trying to use the same a function that picks the date and the time in multiple screens, is it possible to do so?
I cannot extract showDatePicker because it is no