onPageLoaded method

Future<void> onPageLoaded()

Implementation

Future<void> onPageLoaded() async {
  // open the requested page
  if (System.currentApp?.startPage != null && System.currentApp?.started == false) {

    // open the requested page
    _open(System.currentApp?.startPage);

    // clear requested page so we don't continually
    // open the same page on refresh or reload
    System.currentApp?.started = true;
  }
}