fluro/lib/src/common.dart

21 lines
453 B
Dart
Raw Normal View History

2017-05-04 15:33:40 -04:00
/*
* router
* A Posse Production
* http://goposse.com
* Copyright (c) 2017 Posse Productions LLC. All rights reserved.
* See LICENSE for distribution and usage details.
*/
2017-04-25 03:24:14 -04:00
part of router;
///
typedef Route<Null> RouteCreator(RouteSettings route, Map<String, String> parameters);
///
typedef Widget RouteHandler(Map<String, String> parameters);
///
class AppRoute {
String route;
2017-05-04 15:27:32 -04:00
RouteHandler handler;
AppRoute(this.route, this.handler);
2017-04-25 03:24:14 -04:00
}