BackgroundTapCallback typedef

BackgroundTapCallback = dynamic Function(DateTime date)

Triggered when there's a click on the background (an empty region of the calendar). The returned value corresponds to the hour/minute where the user made the tap. For better user experience, you may want to round this value using roundTimeToFitGrid.

Implementation

typedef BackgroundTapCallback = Function(DateTime date);