getProgressFromCurrentPage abstract method

int getProgressFromCurrentPage(
  1. Widget currentPage
)

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);