Files
UUVPN/flutter/lib/router/routers.dart
T
2023-06-25 11:50:55 +08:00

29 lines
737 B
Dart

import 'package:fluro/fluro.dart';
import 'package:sail/router/router_handlers.dart';
class Routers {
static String home = "/";
static String login = "/login";
static String plan = "/plan";
static String serverList = '/server-list';
static String webView = "/web-view";
static String account = "/account";
static void configureRoutes(FluroRouter router) {
router.notFoundHandler = notFindHandler;
router.define(home, handler: homeHandler);
router.define(login, handler: loginHandler);
router.define(plan, handler: planHandle);
router.define(serverList, handler: serverListHandler);
router.define(webView, handler: webViewHandler);
router.define(account, handler: accountHandler);
}
}