Files
App.K12.Student.Miniapp_Flu…/lib/core/router/router_keys.dart
T
2026-09-04 15:22:20 +08:00

7 lines
280 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import 'package:flutter/widgets.dart';
/// 全局根导航 key:
/// 1. 给 GoRouter 作为根 Navigator 使用;
/// 2. 供启动隐私 Gate 这类"路由外层"页面直接打开子页面。
final GlobalKey<NavigatorState> rootNavigatorKey = GlobalKey<NavigatorState>();