setPage method
Implementation
void setPage(double value, [bool notify = false]) {
int page = value.round();
if (page != currentIndex) {
currentIndex = page;
if (onTabChange != null) onTabChange?.call(currentIndex);
if (notify) onNotify();
}
}