currentElement property
Selected Element consistent with the current selected RenderObject.
Setting candidates or calling clear resets the selection.
Returns null if the selection is invalid.
Implementation
Element get currentElement => _currentElement;
Implementation
set currentElement(Element element) {
if (currentElement != element) {
_currentElement = element;
_current = element.findRenderObject();
}
}