mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
18 lines
405 B
Dart
18 lines
405 B
Dart
import 'package:PiliPlus/models/common/search_type.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
class SearchResultController extends GetxController {
|
|
String keyword = Get.parameters['keyword'] ?? '';
|
|
|
|
RxList<int> count =
|
|
List.generate(SearchType.values.length, (_) => -1).toList().obs;
|
|
|
|
RxInt toTopIndex = (-1).obs;
|
|
|
|
@override
|
|
void onClose() {
|
|
toTopIndex.close();
|
|
super.onClose();
|
|
}
|
|
}
|