feat: use interactiveviewer gallery

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-12 11:10:57 +08:00
parent 22f668245d
commit 5d8b42a928
85 changed files with 2966 additions and 1171 deletions

View File

@@ -41,7 +41,7 @@ class _MemberDynamicState extends State<MemberDynamic>
},
child: ListView.separated(
itemCount: loadingState.response.length,
itemBuilder: (_, index) {
itemBuilder: (context, index) {
if (index == loadingState.response.length - 1) {
_controller.onLoadMore();
}
@@ -49,7 +49,8 @@ class _MemberDynamicState extends State<MemberDynamic>
item: loadingState.response[index],
);
},
separatorBuilder: (_, index) => const SizedBox(height: 10),
separatorBuilder: (context, index) =>
const SizedBox(height: 10),
),
)
: errorWidget(