opt scroll physics

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-20 13:31:28 +08:00
parent 452b54d124
commit 480bdffdaa
59 changed files with 210 additions and 195 deletions

View File

@@ -170,10 +170,9 @@ class _FavPgcChildPageState extends State<FavPgcChildPage>
Widget _buildBody(LoadingState<List<FavPgcItemModel>?> loadingState) {
return switch (loadingState) {
Loading() => SliverGrid.builder(
Loading() => SliverGrid(
gridDelegate: gridDelegate,
itemBuilder: (context, index) => const FavPgcItemSkeleton(),
itemCount: 10,
delegate: favPgcDelegate,
),
Success(:final response) =>
response != null && response.isNotEmpty