class RoutePaths { RoutePaths._(); ///闪烁页 static const splash = "/"; ///协议页 static const agreement = "/agreement"; ///登录 static const login = "/login"; ///登陆验证码 static const loginCode = "/loginCode"; ///首页 static const layout = "/layout"; ///预约详情 static const detail = "/detail"; ///文章详情 static String articleDetail([int? id]) => id != null ? "/articleDetail/$id" : "/articleDetail/:id"; }