OnConfirmedCallback typedef

OnConfirmedCallback = bool Function()

This function type is used for verifying that the dialog/modal widget is to be closed or not.

if true, the widget will be closed

Implementation

typedef OnConfirmedCallback = bool Function();