Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-22 15:51:22 +08:00
parent 92e5fae29c
commit b9b54ce4f7
34 changed files with 627 additions and 665 deletions

View File

@@ -31,8 +31,8 @@ class _RcmdPageState extends CommonPageState<RcmdPage, RcmdController>
super.build(context);
return onBuild(
Container(
clipBehavior: Clip.hardEdge,
margin: const EdgeInsets.symmetric(horizontal: StyleString.safeSpace),
clipBehavior: .hardEdge,
margin: const .symmetric(horizontal: StyleString.safeSpace),
decoration: const BoxDecoration(borderRadius: StyleString.mdRadius),
child: refreshIndicator(
onRefresh: controller.onRefresh,
@@ -41,10 +41,7 @@ class _RcmdPageState extends CommonPageState<RcmdPage, RcmdController>
physics: const AlwaysScrollableScrollPhysics(),
slivers: [
SliverPadding(
padding: const EdgeInsets.only(
top: StyleString.cardSpace,
bottom: 100,
),
padding: const .only(top: StyleString.cardSpace, bottom: 100),
sliver: Obx(() => _buildBody(controller.loadingState.value)),
),
],
@@ -87,7 +84,7 @@ class _RcmdPageState extends CommonPageState<RcmdPage, RcmdController>
),
child: Text(
'上次看到这里\n点击刷新',
textAlign: TextAlign.center,
textAlign: .center,
style: TextStyle(
color: Theme.of(
context,