popToRoot static method

void popToRoot({
  1. bool animated = true,
})

回到根页面

Implementation

static void popToRoot({bool animated = true}) {
  DNavigatorManager.popToRoot(animated: animated);
}