atEnd property

bool atEnd

Whether the scrollable content is at its ending position (i.e., scrolled to end).

Implementation

bool get atEnd {
  if (scrollController?.position.atEdge ?? false) {
    if (scrollController?.position.pixels ==
        scrollController?.position.maxScrollExtent) return true;
  }
  return false;
}