update icon

This commit is contained in:
Phuoc Nguyen
2025-11-17 09:34:17 +07:00
parent b5f90c364d
commit 49082026f5
12 changed files with 144 additions and 135 deletions

View File

@@ -9,6 +9,7 @@
library;
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:worker/core/constants/ui_constants.dart';
@@ -174,7 +175,7 @@ class AccountPage extends ConsumerWidget {
child: Column(
children: [
AccountMenuItem(
icon: Icons.edit,
icon: FontAwesomeIcons.penToSquare,
title: 'Thông tin cá nhân',
subtitle: 'Cập nhật thông tin tài khoản',
onTap: () {
@@ -182,7 +183,7 @@ class AccountPage extends ConsumerWidget {
},
),
AccountMenuItem(
icon: Icons.history,
icon: FontAwesomeIcons.clockRotateLeft,
title: 'Lịch sử đơn hàng',
subtitle: 'Xem các đơn hàng đã đặt',
onTap: () {
@@ -190,7 +191,7 @@ class AccountPage extends ConsumerWidget {
},
),
AccountMenuItem(
icon: Icons.location_on,
icon: FontAwesomeIcons.locationDot,
title: 'Địa chỉ đã lưu',
subtitle: 'Quản lý địa chỉ giao hàng',
onTap: () {
@@ -198,7 +199,7 @@ class AccountPage extends ConsumerWidget {
},
),
AccountMenuItem(
icon: Icons.notifications,
icon: FontAwesomeIcons.bell,
title: 'Cài đặt thông báo',
subtitle: 'Quản lý thông báo đẩy',
onTap: () {
@@ -206,7 +207,7 @@ class AccountPage extends ConsumerWidget {
},
),
AccountMenuItem(
icon: Icons.lock,
icon: FontAwesomeIcons.lock,
title: 'Đổi mật khẩu',
subtitle: 'Cập nhật mật khẩu mới',
onTap: () {
@@ -214,7 +215,7 @@ class AccountPage extends ConsumerWidget {
},
),
AccountMenuItem(
icon: Icons.language,
icon: FontAwesomeIcons.language,
title: 'Ngôn ngữ',
subtitle: 'Tiếng Việt',
onTap: () {
@@ -264,12 +265,12 @@ class AccountPage extends ConsumerWidget {
// Support menu items
AccountMenuItem(
icon: Icons.headset_mic,
icon: FontAwesomeIcons.headset,
title: 'Liên hệ hỗ trợ',
subtitle: 'Hotline: 1900 1234',
trailing: const Icon(
Icons.phone,
size: 20,
trailing: const FaIcon(
FontAwesomeIcons.phone,
size: 18,
color: AppColors.grey500,
),
onTap: () {
@@ -282,14 +283,14 @@ class AccountPage extends ConsumerWidget {
},
),
AccountMenuItem(
icon: Icons.help_outline,
icon: FontAwesomeIcons.circleQuestion,
title: 'Câu hỏi thường gặp',
onTap: () {
_showComingSoon(context);
},
),
AccountMenuItem(
icon: Icons.info_outline,
icon: FontAwesomeIcons.circleInfo,
title: 'Về ứng dụng',
subtitle: 'Phiên bản 1.0.0',
onTap: () {
@@ -310,7 +311,7 @@ class AccountPage extends ConsumerWidget {
onPressed: () {
_showLogoutConfirmation(context, ref);
},
icon: const Icon(Icons.logout),
icon: const FaIcon(FontAwesomeIcons.arrowRightFromBracket, size: 18),
label: const Text('Đăng xuất'),
style: OutlinedButton.styleFrom(
foregroundColor: AppColors.danger,