onSelection property

dynamic Function(DateTime selectedTime)? onSelection
final

onSelection is a callback which gets called when a time slot is selected

Implementation

final Function(DateTime selectedTime)? onSelection;