INNER CODE UNIT · Dart
_currentPageIndex
woltapp/wolt_modal_sheet · lib/src/wolt_modal_sheet.dart:550
_currentPageIndex = _pages.length - pages.length;
}
/// Adds a new page to the modal sheet stack and displays it.
///
/// This method pushes a new [SliverWoltModalSheetPage] onto the navigation stack,
/// making it the visible page.
///
/// Parameters:
/// - [page]: The [SliverWoltModalSheetPage] to add to the navigation stack.
///
/// Returns:
/// None.
void pushPage(SliverWoltModalSheetPage page) {
pushPages([page]);
}
/// Removes the top page from the modal sheet stack.