routes.dart 605 B

1234567891011121314151617181920212223
  1. /*
  2. * fluro
  3. * A Posse Production
  4. * http://goposse.com
  5. * Copyright (c) 2018 Posse Productions LLC. All rights reserved.
  6. * See LICENSE for distribution and usage details.
  7. */
  8. import 'package:fluro/fluro.dart';
  9. import './route_handlers.dart';
  10. class Routes {
  11. static String demoSimple = "/demo";
  12. static String demoFunc = "/demo/func";
  13. static String deepLink = "/message";
  14. static void configureRoutes(Router router) {
  15. router.define(demoSimple, handler: demoRouteHandler);
  16. router.define(demoFunc, handler: demoFunctionHandler);
  17. router.define(deepLink, handler: deepLinkHandler);
  18. }
  19. }