discontinuedPackage androssy_widgets has been discontinued.

paging method

ScrollController paging({
  1. required dynamic func(),
})

Implementation

ScrollController paging({required Function() func}) {
  scrollController.addListener(() {
    if (scrollController.position.atEdge) {
      if (scrollController.position.pixels != 0) {
        func.call();
      }
    }
  });
  return scrollController;
}