12345678910111213141516 |
- import 'package:fluro/fluro.dart';
- import '../views/index_page.dart';
- import '../views/map_page.dart';
- import '../views/deatilspage/details_page.dart';
- import '../views/settings_page.dart';
- Handler rootHandler = Handler(handlerFunc: (_, params) => IndexPage());
- Handler detailHandler = Handler(handlerFunc: (context, param) {
- String goodsId = param['id']?.first;
- return DetailsPage(goodsId: goodsId);
- });
- Handler mapHandler = Handler(handlerFunc: (_, param) => MapPage());
- Handler settingHandler = Handler(handlerFunc: (_, param) => SettingsPage());
|