onLongPressStart method

void onLongPressStart()

Implementation

void onLongPressStart() {
  // show debug window
  if (onLongPressTimer != null) onLongPressTimer!.cancel();
  onLongPressTimer = Timer(const Duration(seconds: 1),
      () => EventHandler(widget.model).executeEvent("DEBUG.open()"));
}