onDismiss property Null safety

VoidCallback? onDismiss
final

Implementation

final VoidCallback? onDismiss;