Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-21 22:38:47 +08:00
parent a1555826c3
commit 17568c8c27
43 changed files with 818 additions and 932 deletions

View File

@@ -151,10 +151,11 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
if (index == response.length - 1) {
_favNoteController.onLoadMore();
}
final item = response[index];
return FavNoteItem(
item: response[index],
item: item,
ctr: _favNoteController,
onSelect: () => _favNoteController.onSelect(index),
onSelect: () => _favNoteController.onSelect(item),
);
},
childCount: response!.length,

View File

@@ -17,8 +17,8 @@ class FavNoteController
}
@override
void onSelect(int index, [bool disableSelect = true]) {
super.onSelect(index, false);
void onSelect(FavNoteItemModel item, [bool disableSelect = true]) {
super.onSelect(item, false);
}
@override