isDragged static method

bool isDragged(
  1. Set<WidgetEvent> events
)

Checker for whether events considers WidgetEvent.dragged to be active.

Implementation

static bool isDragged(Set<WidgetEvent> events) {
  return events.contains(dragged);
}