page_router.dart 319 B

12345678910111213141516171819
  1. import 'package:flutter/material.dart';
  2. import 'package:get/get.dart';
  3. import 'package:router/path/router_path.dart';
  4. import '../modules/splash/splash_page.dart';
  5. class PageRouter {
  6. static final routes = [
  7. //闪屏页
  8. GetPage(
  9. name: RouterPath.SPLASH,
  10. page: () => SplashPage(),
  11. ),
  12. ];
  13. }