onPressed property

GestureTapCallback? onPressed
final

Called when the input field is tapped.

Useful for custom tap handling, especially in read-only mode.

Implementation

final GestureTapCallback? onPressed;