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); } }