onPressed property

void Function(String code, String message, List<String>)? onPressed
final

Callback function that is executed when the button is pressed.

Implementation

final void Function(String code, String message, List<String>)? onPressed;