opt: member page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-20 17:53:03 +08:00
parent c104df6cb8
commit 70706b902c
3 changed files with 17 additions and 17 deletions

View File

@@ -134,11 +134,8 @@ class _MemberPageNewState extends State<MemberPageNew>
tabs: _userController.tabs,
);
Widget get _buildBody => Padding(
padding: EdgeInsets.only(
left: MediaQuery.paddingOf(context).left,
right: MediaQuery.paddingOf(context).right,
),
Widget get _buildBody => SafeArea(
top: false,
child: TabBarView(
controller: _userController.tabController,
children: _userController.tab2!.map((item) {

View File

@@ -492,7 +492,9 @@ class UserInfoCard extends StatelessWidget {
children: [
SizedBox(width: MediaQuery.paddingOf(context).left),
const SizedBox(width: 20),
Stack(
Padding(
padding: const EdgeInsets.symmetric(vertical: 10),
child: Stack(
children: [
_buildAvatar(context),
if (card.officialVerify?.icon?.isNotEmpty == true ||
@@ -504,6 +506,7 @@ class UserInfoCard extends StatelessWidget {
),
],
),
),
Expanded(
child: Column(
mainAxisSize: MainAxisSize.min,

View File

@@ -35,7 +35,7 @@ class _MemberDynamicsPageState extends State<MemberDynamicsPage>
mid = widget.mid ?? int.parse(Get.parameters['mid']!);
final String heroTag = Utils.makeHeroTag(mid);
_memberDynamicController =
Get.put(MemberDynamicsController(widget.mid), tag: heroTag);
Get.put(MemberDynamicsController(mid), tag: heroTag);
// _memberDynamicController.scrollController.addListener(
// () {
// if (_memberDynamicController.scrollController.position.pixels >=