isDisabled static method

bool isDisabled(
  1. Set<WidgetEvent> events
)

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

Implementation

static bool isDisabled(Set<WidgetEvent> events) {
  return events.contains(disabled);
}