Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-10 09:54:51 +08:00
parent cff6902e59
commit 4d748f95af
16 changed files with 511 additions and 666 deletions

View File

@@ -29,24 +29,24 @@ class _RcmdPageState extends State<RcmdPage>
Widget build(BuildContext context) {
super.build(context);
final colorScheme = ColorScheme.of(context);
return Container(
clipBehavior: .hardEdge,
margin: const .symmetric(horizontal: Style.safeSpace),
decoration: const BoxDecoration(borderRadius: Style.mdRadius),
child: refreshIndicator(
onRefresh: controller.onRefresh,
child: CustomScrollView(
controller: controller.scrollController,
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
SliverPadding(
padding: const .only(top: Style.cardSpace, bottom: 100),
sliver: Obx(
() => _buildBody(colorScheme, controller.loadingState.value),
),
return refreshIndicator(
onRefresh: controller.onRefresh,
child: CustomScrollView(
controller: controller.scrollController,
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
SliverPadding(
padding: const .only(
left: Style.safeSpace,
top: Style.cardSpace,
right: Style.safeSpace,
bottom: 100,
),
],
),
sliver: Obx(
() => _buildBody(colorScheme, controller.loadingState.value),
),
),
],
),
);
}