PaginationController(this.futureFunction) { getData(); // Future.delayed(const Duration(seconds: 1)).then((value) => getData()); }