I'm using the showDatePicker to display the date and get the selected date but I don't need the above edit button, so how I can remove or disable it
My code :
showDatePicker(
context: context,
initialDate: DateTime.now(),
firstDate: DateTime.now(),
lastDate:
DateTime.parse('2051-08-30'))
.then((value) {
cubit.getDateTime(
date: value.toString());
});
My result:
