onTap property

VoidCallback? onTap
final

specifies the action to be taken when the field is tapped

Implementation

final VoidCallback? onTap;