state property

NavigatorState get state

访问全局路由 State 对象

Implementation

NavigatorState get state {
  _assert();
  return key.currentState!;
}