feat: connect undergraduate manual timetable and exam batches

This commit is contained in:
Codex
2026-10-14 23:55:28 +08:00
parent d101ffbf85
commit 68fe71e29a
4 changed files with 719 additions and 1 deletions
+6 -1
View File
@@ -4,13 +4,18 @@ import 'dart:convert';
import 'package:webview_flutter_platform_interface/webview_flutter_platform_interface.dart';
class FakeSchoolPlatform extends WebViewPlatform {
int controllerCreations = 0;
late FakeSchoolWeb web;
late FakeSchoolDelegate delegate;
final cookies = FakeSchoolCookies();
@override
PlatformWebViewController createPlatformWebViewController(
PlatformWebViewControllerCreationParams params,
) => web = FakeSchoolWeb(params);
) {
controllerCreations++;
return web = FakeSchoolWeb(params);
}
@override
PlatformNavigationDelegate createPlatformNavigationDelegate(
PlatformNavigationDelegateCreationParams params,