mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: member article
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -48,18 +48,22 @@ class _MemberArticleState extends State<MemberArticle>
|
|||||||
},
|
},
|
||||||
child: CustomScrollView(
|
child: CustomScrollView(
|
||||||
slivers: [
|
slivers: [
|
||||||
SliverGrid(
|
SliverPadding(
|
||||||
gridDelegate: Grid.videoCardHDelegate(context),
|
padding: EdgeInsets.only(
|
||||||
delegate: SliverChildBuilderDelegate(
|
bottom: MediaQuery.paddingOf(context).bottom + 80),
|
||||||
(context, index) {
|
sliver: SliverGrid(
|
||||||
if (index == loadingState.response!.length - 1) {
|
gridDelegate: Grid.videoCardHDelegate(context),
|
||||||
_controller.onLoadMore();
|
delegate: SliverChildBuilderDelegate(
|
||||||
}
|
(context, index) {
|
||||||
return MemberArticleItem(
|
if (index == loadingState.response!.length - 1) {
|
||||||
item: loadingState.response![index],
|
_controller.onLoadMore();
|
||||||
);
|
}
|
||||||
},
|
return MemberArticleItem(
|
||||||
childCount: loadingState.response!.length,
|
item: loadingState.response![index],
|
||||||
|
);
|
||||||
|
},
|
||||||
|
childCount: loadingState.response!.length,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user