onPressed property

FunctionStringCallback? onPressed
final

Called when button is pressed, with the text as an argument. This helps in the case the full url was used, and then use the url text when the hyperlink is pressed.

Implementation

final FunctionStringCallback? onPressed;