判断当前路由根路由
static Future<bool> isCurrentRoot() async { String? top = await topRouteName(); if (top == null) { return false; } return await _nativeNavigator.isRoot(top); }