onSelection property
onSelection is a callback which gets called when a time slot is selected
Implementation
final Function(DateTime selectedTime)? onSelection;
onSelection is a callback which gets called when a time slot is selected
final Function(DateTime selectedTime)? onSelection;