onTap property

VoidCallback? onTap
final

Called when the text field is tapped (useful for read-only fields)

Implementation

final VoidCallback? onTap;