isPressed static method

bool isPressed(
  1. Set<WidgetEvent> events
)
override

Checker for whether events considers WxAnchorEvent.pressed to be active.

Implementation

static bool isPressed(Set<WidgetEvent> events) {
  return events.contains(pressed);
}