isOnboardingPagedInHistory static method
- OnboardingPage page
Implementation
static bool isOnboardingPagedInHistory(OnboardingPage page) {
bool exists = false;
if (_historyOnboardingNav.isNotEmpty) {
final int indexPage = _historyOnboardingNav.indexOf(page);
exists = indexPage >= 0 && indexPage < (_historyOnboardingNav.length - 1);
}
return exists;
}