opt: code

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-13 10:55:05 +08:00
parent be371e002a
commit 94d055610e
5 changed files with 8 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ import 'package:get/get.dart';
class SearchResultController extends GetxController {
String? keyword;
RxList<int> count = List.generate(5, (_) => -1).toList().obs;
RxList<int> count = List.filled(5, -1).toList().obs;
@override
void onInit() {