setHeight method

void setHeight(
  1. double newHeight
)

Sets the height of the LoadMore widget and notifies listeners if it changes.

Implementation

void setHeight(double newHeight) {
  if (_height != newHeight) {
    _height = newHeight;
    notifyListeners();
  }
}