addOutOfFlowPositionedElement method

void addOutOfFlowPositionedElement(
  1. Element newElement
)

Implementation

void addOutOfFlowPositionedElement(Element newElement) {
  assert(() {
    if (_outOfFlowPositionedElements.contains(newElement)) {
      throw FlutterError('Found repeat element in $_outOfFlowPositionedElements for $newElement');
    }

    return true;
  }());
  _outOfFlowPositionedElements.add(newElement);
}