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

@@ -65,13 +65,12 @@ class _SearchPgcPanelState
}
@override
Widget get buildLoading => SliverGrid.builder(
Widget get buildLoading => SliverGrid(
gridDelegate: SliverGridDelegateWithExtentAndRatio(
mainAxisSpacing: 2,
maxCrossAxisExtent: Grid.smallCardWidth * 2,
childAspectRatio: Style.aspectRatio * 1.5,
),
itemBuilder: (context, index) => const MediaPgcSkeleton(),
itemCount: 10,
delegate: pgcDelegate,
);
}