getBottomNeedMargin method

double getBottomNeedMargin()

Implementation

double getBottomNeedMargin() {
  double? smaller;
  for (int s = 0; s < _wrappers.length; s++) {
    if (smaller == null || smaller > _wrappers[s].getBottom()) {
      if (_wrappers[s].focusNode.hasFocus) {
        smaller = _wrappers[s].getBottom();
      }
    }
  }
  return smaller ?? 0;
}