初始化
This commit is contained in:
20
lib/router/modules/student_routes.dart
Normal file
20
lib/router/modules/student_routes.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
import 'package:app/pages/student/home/s_home_page.dart';
|
||||
import 'package:app/router/router_config.dart';
|
||||
|
||||
import '../../pages/student/room/s_room_page.dart';
|
||||
import '../route_paths.dart';
|
||||
|
||||
List<RouterConfig> studentRoutes = [
|
||||
RouterConfig(
|
||||
path: RoutePaths.sHome,
|
||||
child: (state) {
|
||||
return SHomePage();
|
||||
},
|
||||
),
|
||||
RouterConfig(
|
||||
path: RoutePaths.sRoom,
|
||||
child: (state) {
|
||||
return SRoomPage();
|
||||
},
|
||||
),
|
||||
];
|
||||
Reference in New Issue
Block a user