captureEvents property

  1. @override
bool? get captureEvents
override

Whether to capture mouse and touch events on the pane itself.

In most use cases, this should be kept to false. Some components like dialogs may wish to make this "true" in order to prevent interacting with the rest of the application when the pane is active.

Implementation

@override
bool? get captureEvents => _captureEvents;
set captureEvents (bool? captureEvents)

Implementation

set captureEvents(bool? captureEvents) {
  if (_captureEvents != captureEvents) {
    _captureEvents = captureEvents;
    _asyncScheduler.scheduleUpdate();
  }
}