getProgressFromCurrentPage abstract method
Returns how many pages are left until the last page. 0 means it's the last page.
getProgressFromCurrentPage() + 1 means push until the last page and then
invoke lastPageCallback
.
Implementation
int getProgressFromCurrentPage(Widget currentPage);