onCancel property Null safety

(FutureOr<void> Function?()?) onCancel
read / write

Implementation

FutureOr<void> Function()? onCancel;