onTap property

VoidCallback? onTap
getter/setter pair

specifies the action to be performed if the field is tapped

Implementation

VoidCallback? onTap;