hasSelectionObservers property

  1. @override
bool get hasSelectionObservers
override

Returns true if a subscriber is listening to selectionChanges.

Implementation

@override
bool get hasSelectionObservers {
  return _selectionChangeController != null &&
      (_selectionChangeController?.hasListener ?? false);
}