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

@@ -43,17 +43,9 @@ mixin DynMixin {
Widget get dynSkeleton {
if (GlobalData.dynamicsWaterfallFlow) {
return SliverGrid.builder(
gridDelegate: skeDelegate,
itemBuilder: (_, _) => const DynamicCardSkeleton(),
itemCount: 10,
);
return SliverGrid(gridDelegate: skeDelegate, delegate: dynDelegate);
}
return SliverPrototypeExtentList.builder(
prototypeItem: const DynamicCardSkeleton(),
itemBuilder: (_, _) => const DynamicCardSkeleton(),
itemCount: 10,
);
return dynSkeleton_;
}
}