current property

RenderObject? get current

Selected render object typically from the candidates list.

Setting candidates or calling clear resets the selection.

Returns null if the selection is invalid.

Implementation

RenderObject? get current => active ? _current : null;
set current (RenderObject? value)

Implementation

set current(RenderObject? value) {
  if (_current != value) {
    _current = value;
    _currentElement = (value?.debugCreator as DebugCreator?)?.element;
    notifyListeners();
  }
}