onLongPressStart method

void onLongPressStart()

Implementation

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