add profile edit
This commit is contained in:
@@ -33,19 +33,15 @@ class AccountPage extends StatelessWidget {
|
||||
// Simple Header
|
||||
_buildHeader(),
|
||||
|
||||
|
||||
// User Profile Card
|
||||
_buildProfileCard(context),
|
||||
|
||||
|
||||
// Account Menu Section
|
||||
_buildAccountMenu(context),
|
||||
|
||||
|
||||
// Support Section
|
||||
_buildSupportSection(context),
|
||||
|
||||
|
||||
// Logout Button
|
||||
_buildLogoutButton(context),
|
||||
|
||||
@@ -142,18 +138,12 @@ class AccountPage extends StatelessWidget {
|
||||
const SizedBox(height: 4),
|
||||
const Text(
|
||||
'Kiến trúc sư · Hạng Diamond',
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: AppColors.grey500,
|
||||
),
|
||||
style: TextStyle(fontSize: 13, color: AppColors.grey500),
|
||||
),
|
||||
const SizedBox(height: 4),
|
||||
const Text(
|
||||
'0983 441 099',
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: AppColors.primaryBlue,
|
||||
),
|
||||
style: TextStyle(fontSize: 13, color: AppColors.primaryBlue),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -185,7 +175,7 @@ class AccountPage extends StatelessWidget {
|
||||
title: 'Thông tin cá nhân',
|
||||
subtitle: 'Cập nhật thông tin tài khoản',
|
||||
onTap: () {
|
||||
_showComingSoon(context);
|
||||
context.push(RouteNames.profile);
|
||||
},
|
||||
),
|
||||
AccountMenuItem(
|
||||
@@ -353,20 +343,14 @@ class AccountPage extends StatelessWidget {
|
||||
children: [
|
||||
const Text(
|
||||
'EuroTile & Vasta Stone Worker',
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
const Text('Phiên bản: 1.0.0'),
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
'Ứng dụng dành cho thầu thợ, kiến trúc sư, đại lý và môi giới trong ngành gạch ốp lát và nội thất.',
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
color: AppColors.grey500,
|
||||
),
|
||||
style: TextStyle(fontSize: 14, color: AppColors.grey500),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -402,9 +386,7 @@ class AccountPage extends StatelessWidget {
|
||||
),
|
||||
);
|
||||
},
|
||||
style: TextButton.styleFrom(
|
||||
foregroundColor: AppColors.danger,
|
||||
),
|
||||
style: TextButton.styleFrom(foregroundColor: AppColors.danger),
|
||||
child: const Text('Đăng xuất'),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user