onTap property

(dynamic Function()?) onTap
final

If you use onTap then you Have to manage IsSelected field in TextModel and isSelected

Implementation

final Function()? onTap;