current property Null safety
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;
Implementation
set current(RenderObject? value) {
if (_current != value) {
_current = value;
_currentElement = (value?.debugCreator as DebugCreator?)?.element;
}
}