backup.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
|
||||
import 'package:fluro/fluro.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'pages/download.dart';
|
||||
import 'store/store.dart';
|
||||
import 'pages/home.dart';
|
||||
|
||||
class Routes {
|
||||
static final router = FluroRouter();
|
||||
@@ -8,9 +11,15 @@ class Routes {
|
||||
static void configure() {
|
||||
router.define('/', handler: new Handler(
|
||||
handlerFunc: (BuildContext context, Map<String, List<String>> params) {
|
||||
return null;
|
||||
return Home(null);
|
||||
}),
|
||||
transitionType: TransitionType.fadeIn
|
||||
);
|
||||
router.define('/download', handler: new Handler(
|
||||
handlerFunc: (BuildContext context, Map<String, List<String>> params) {
|
||||
return Download();
|
||||
}),
|
||||
transitionType: TransitionType.inFromRight
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user