onConfirm property Null safety

PickerConfirmCallback? onConfirm
final

Implementation

final PickerConfirmCallback? onConfirm;