evaluatePositions function

void evaluatePositions()

Implementation

void evaluatePositions() {
  final elements =
      dom.document.body?.querySelectorAll('div.af-toast-container');
  if (elements != null) {
    var bottom = _toastMargin;
    for (final element in elements) {
      element.style.bottom = '${bottom}px';
      bottom += _toastMargin + element.clientHeight;
    }
  }
}