totalPage property
int
get
totalPage
Implementation
int get totalPage {
if (contentSize <= 0 || scrollSize <= 0) {
return 1;
}
return (scrollSize ~/ contentSize) + 1;
}
int get totalPage {
if (contentSize <= 0 || scrollSize <= 0) {
return 1;
}
return (scrollSize ~/ contentSize) + 1;
}