getCurrentPage method

Widget getCurrentPage()

获取当前显示的页面Widget

Implementation

Widget getCurrentPage() =>
    _pages.isEmpty ? (_notFoundPage ?? const EmptyPage()) : _pages.last.page;