onPressed property

VoidCallback onPressed
final

Function that is called when LeanButton was pressed.

Implementation

final VoidCallback onPressed;