onTap property

dynamic Function(String)? onTap
getter/setter pair

onTap is a function which is used to perform some action when the text is tapped

Implementation

Function(String)? onTap;