toText method

String toText()

Implementation

String toText() => onTap != null ? '$text ($onTap)' : text;