feat: integrate undergraduate school workflows and period twelve
This commit is contained in:
@@ -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: () {
|
||||
|
||||
Reference in New Issue
Block a user