onPressed property

VoidCallback? onPressed
final

The callback function to be called when the TextButton is pressed.

Implementation

final VoidCallback? onPressed;