toRecognizer property
GestureRecognizer?
toRecognizer
Implementation
GestureRecognizer? get toRecognizer {
final txtAp = _TxtApprox(this);
if (txtAp.ink.data.onTap != null) return TapGestureRecognizer()..onTap = () => (txtAp.ink.data.onTap ?? () {})();
if (txtAp.ink.data.onLongPress != null) return LongPressGestureRecognizer()..onLongPress = () => (txtAp.ink.data.onLongPress ?? () {})();
return null;
}