Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-26 14:14:46 +08:00
parent 1f22dcd73f
commit dc7fe2cb3b
2 changed files with 20 additions and 14 deletions

View File

@@ -118,7 +118,7 @@ class _FavDetailPageState extends State<FavDetailPage> with GridMixin {
],
)
: null,
expandedHeight: kToolbarHeight + 130,
expandedHeight: kToolbarHeight + 127,
pinned: true,
title: enableMultiSelect
? null
@@ -343,9 +343,9 @@ class _FavDetailPageState extends State<FavDetailPage> with GridMixin {
background: Padding(
padding: EdgeInsets.only(
top: kToolbarHeight + padding.top + 10,
left: 14 + padding.left,
right: 20,
bottom: 10,
left: 12 + padding.left,
right: 12,
bottom: 7,
),
child: SizedBox(
height: 110,

View File

@@ -47,10 +47,10 @@ class _MemberPageState extends State<MemberPage> {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final theme = Theme.of(context).colorScheme;
final padding = MediaQuery.viewPaddingOf(context);
return Material(
color: theme.colorScheme.surface,
color: theme.surface,
child: Obx(
() {
if (_userController.loadingState.value.isSuccess) {
@@ -74,10 +74,16 @@ class _MemberPageState extends State<MemberPage> {
child: Column(
children: [
if ((_userController.tab2?.length ?? 0) > 1)
TabBar(
SizedBox(
height: 40,
child: TabBar(
controller: _userController.tabController,
tabs: _userController.tabs,
onTap: _userController.onTapTab,
dividerColor: theme.outline.withValues(
alpha: 0.2,
),
),
),
Expanded(child: _buildBody),
],
@@ -94,7 +100,7 @@ class _MemberPageState extends State<MemberPage> {
);
}
List<Widget> _actions(ThemeData theme) => [
List<Widget> _actions(ColorScheme theme) => [
IconButton(
tooltip: '搜索',
onPressed: () => Get.toNamed(
@@ -260,12 +266,12 @@ class _MemberPageState extends State<MemberPage> {
Icon(
Icons.error_outline,
size: 19,
color: theme.colorScheme.error,
color: theme.error,
),
const SizedBox(width: 10),
Text(
'举报',
style: TextStyle(color: theme.colorScheme.error),
style: TextStyle(color: theme.error),
),
],
),
@@ -307,7 +313,7 @@ class _MemberPageState extends State<MemberPage> {
);
Widget _buildUserInfo(
ThemeData theme,
ColorScheme theme,
LoadingState<SpaceData?> userState,
) {
switch (userState) {