onPressed property

VoidCallback? onPressed
final

Called when chosen, after the dialog is dismissed if dismisses.

Implementation

final VoidCallback? onPressed;