onPressed property

ValueChanged onPressed
final

Called when the button is tapped or otherwise activated.

Implementation

final ValueChanged<dynamic> onPressed