tapSummaryStr method

String tapSummaryStr()

tapSummaryStr returns part of the strSummary in case of a tap event.

Implementation

String tapSummaryStr() {
  return ("( ${tapStart!.dx.round()} , ${tapStart!.dy.round()} )${tapDuration == null || tapDuration!.inSeconds < 1 ? "" : " ${tapDuration!.inSeconds}s"}${tapStop == null || (tapStart! - tapStop!).distance.abs() < 2 ? "" : " -> ( ${tapStop!.dx.round()} , ${tapStop!.dy.round()} )"}");
}