topRouteName method

  1. @override
Future<String?> topRouteName()
override

最上层路由名称

Implementation

@override
Future<String?> topRouteName() async {
  return navigatorObserver.topRouteName;
}