mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-02 00:58:19 +08:00
opt member info
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -54,9 +54,7 @@ class UserInfoCard extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
Utils.numFormat(count),
|
Utils.numFormat(count),
|
||||||
style: const TextStyle(
|
style: const TextStyle(fontSize: 14),
|
||||||
fontSize: 14,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
title,
|
title,
|
||||||
@@ -440,7 +438,10 @@ class UserInfoCard extends StatelessWidget {
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
_buildHeader(context, theme),
|
_buildHeader(context, theme),
|
||||||
const SizedBox(width: double.infinity, height: 85)
|
SizedBox(
|
||||||
|
width: double.infinity,
|
||||||
|
height: MediaQuery.textScalerOf(context).scale(30) + 55,
|
||||||
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
@@ -449,19 +450,12 @@ class UserInfoCard extends StatelessWidget {
|
|||||||
child: _buildAvatar(context),
|
child: _buildAvatar(context),
|
||||||
),
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
left: 120,
|
left: 140,
|
||||||
top: 140,
|
top: 140,
|
||||||
right: 20,
|
right: 20,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
child: LayoutBuilder(
|
|
||||||
builder: (_, constraints) => FittedBox(
|
|
||||||
child: SizedBox(
|
|
||||||
width: constraints.maxWidth,
|
|
||||||
child: _buildRight(context, theme),
|
child: _buildRight(context, theme),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
..._buildLeft(context, theme),
|
..._buildLeft(context, theme),
|
||||||
|
|||||||
Reference in New Issue
Block a user