The SelectionRegistrar the mixer will be or is registered to.
This Selectable only registers the mixer if the SelectionGeometry.hasContent returned by the Selectable is true.
Implementation
SelectionRegistrar? get registrar => _registrar;
Implementation
set registrar(SelectionRegistrar? value) {
if (value == _registrar) {
return;
}
if (value == null) {
// When registrar goes from non-null to null;
removeListener(_updateSelectionRegistrarSubscription);
} else if (_registrar == null) {
// When registrar goes from null to non-null;
addListener(_updateSelectionRegistrarSubscription);
}
_removeSelectionRegistrarSubscription();
_registrar = value;
_updateSelectionRegistrarSubscription();
}