NPage? getNPageFromIndex(int index) { if (_index == index) return this; for (var page in pages) { final nPage = page.getNPageFromIndex(index); if (nPage != null) return nPage; } return null; }