isFocused static method

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

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

Implementation

static bool isFocused(Set<WidgetEvent> events) {
  return events.contains(focused);
}