popTo static method

Future<bool> popTo({
  1. required String url,
  2. int index = 0,
  3. bool animated = true,
})

Pop the page in the navigation stack until the page with url.

Implementation

static Future<bool> popTo({required String url, int index = 0, bool animated = true}) =>
    ThrioNavigatorImplement.shared().popTo(url: url, index: index, animated: animated);