opt: non null (#1091)

* opt: type

* opt: type 2

* opt: type 3
This commit is contained in:
My-Responsitories
2025-08-23 18:25:41 +08:00
committed by GitHub
parent 6009668427
commit 3c34e43827
75 changed files with 400 additions and 362 deletions

View File

@@ -59,13 +59,13 @@ class MemberSearchChildController extends CommonListController {
Future<LoadingState> customGetData() {
return switch (searchType) {
MemberSearchType.archive => MemberHttp.searchArchive(
mid: controller.mid,
mid: controller.mid!,
pn: page,
keyword: controller.editingController.text,
order: 'pubdate',
),
MemberSearchType.dynamic => MemberHttp.dynSearch(
mid: controller.mid,
mid: controller.mid!,
pn: page,
offset: offset ?? '',
keyword: controller.editingController.text,