mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17 lines
338 B
Dart
17 lines
338 B
Dart
import 'package:get/get.dart';
|
|
|
|
class SearchResultController extends GetxController {
|
|
String? keyword;
|
|
int tabIndex = 0;
|
|
|
|
RxList<int> count = List.generate(5, (_) => -1).toList().obs;
|
|
|
|
@override
|
|
void onInit() {
|
|
super.onInit();
|
|
if (Get.parameters.keys.isNotEmpty) {
|
|
keyword = Get.parameters['keyword'];
|
|
}
|
|
}
|
|
}
|