onPressed property

void Function(BuildContext) onPressed
final

Function to call when the button is pressed.

Implementation

final void Function(BuildContext) onPressed;