Files
UUVPN/flutter/lib/router/routers.dart
T
Zeus 876d355b18 update dio to dio: ^5.5.0+1
update  dio to  dio: ^5.5.0+1
2024-07-24 11:12:17 +08:00

29 lines
738 B
Dart

import 'package:fluro/fluro.dart';
import 'package:uuvpn/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);
}
}