fluro/example/lib/config/routes.dart

23 lines
605 B
Dart
Raw Normal View History

/*
* fluro
* A Posse Production
* http://goposse.com
* Copyright (c) 2018 Posse Productions LLC. All rights reserved.
* See LICENSE for distribution and usage details.
*/
import 'package:fluro/fluro.dart';
import './route_handlers.dart';
class Routes {
static String demoSimple = "/demo";
static String demoFunc = "/demo/func";
static String deepLink = "/message";
static void configureRoutes(Router router) {
router.define(demoSimple, handler: demoRouteHandler);
router.define(demoFunc, handler: demoFunctionHandler);
router.define(deepLink, handler: deepLinkHandler);
}
}