feat: integrate undergraduate school workflows and period twelve

This commit is contained in:
Codex
2026-10-15 00:28:04 +08:00
parent 7939bd4c3c
commit b28f333720
15 changed files with 573 additions and 26 deletions
+11
View File
@@ -12,15 +12,25 @@ import 'services/local_notification_service.dart';
import 'services/android_calendar_service.dart';
import 'features/school/school_session.dart';
import 'features/school/school_auth_page.dart';
import 'features/school/undergraduate/session.dart';
import 'features/school/undergraduate/auth_page.dart';
Widget buildApplication(
AppController controller, {
ValueNotifier<String?>? notificationSelection,
SchoolSession? school,
UndergraduateSession? undergraduate,
}) => HepanApp(
controller: controller,
notificationSelection: notificationSelection,
school: school,
undergraduate: undergraduate,
undergraduateBuilder: undergraduate == null
? null
: () => UndergraduateAuthPage(
session: undergraduate,
controller: controller,
),
schoolBuilder: school == null
? null
: () => SchoolAuthPage(session: school, controller: controller),
@@ -47,6 +57,7 @@ Future<void> main() async {
value,
notificationSelection: selection,
school: SchoolSession(),
undergraduate: UndergraduateSession(),
);
},
onHomeReady: () {