onCancel property Null safety

DateCancelledCallback? onCancel
final

Implementation

final DateCancelledCallback? onCancel;