For the showTimePicker function in Flutter used to select a time, is it possible to set a defined time interval (such as 15 minutes) to prevent users from selecting any other timing?
Currently, this is the code I have for creating a default TimePicker.
showTimePicker(
context: context,
initialTime: TimeOfDay.now(),
);