update icon
This commit is contained in:
@@ -5,6 +5,7 @@ library;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:qr_flutter/qr_flutter.dart';
|
||||
import 'package:worker/core/constants/ui_constants.dart';
|
||||
@@ -282,37 +283,37 @@ class LoyaltyPage extends ConsumerWidget {
|
||||
List<Widget> _buildLoyaltyMenu(BuildContext context) {
|
||||
final menuItems = [
|
||||
{
|
||||
'icon': Icons.card_giftcard,
|
||||
'icon': FontAwesomeIcons.gift,
|
||||
'title': 'Đổi quà tặng',
|
||||
'subtitle': 'Sử dụng điểm để đổi quà hấp dẫn',
|
||||
'route': '/loyalty/rewards',
|
||||
},
|
||||
{
|
||||
'icon': Icons.add_circle_outline,
|
||||
'icon': FontAwesomeIcons.circlePlus,
|
||||
'title': 'Ghi nhận điểm',
|
||||
'subtitle': 'Gửi hóa đơn để nhận điểm thưởng',
|
||||
'route': null,
|
||||
},
|
||||
{
|
||||
'icon': Icons.history,
|
||||
'icon': FontAwesomeIcons.clockRotateLeft,
|
||||
'title': 'Lịch sử điểm',
|
||||
'subtitle': 'Xem chi tiết cộng/trừ điểm',
|
||||
'route': '/loyalty/points-history',
|
||||
},
|
||||
{
|
||||
'icon': Icons.person_add,
|
||||
'icon': FontAwesomeIcons.userPlus,
|
||||
'title': 'Giới thiệu bạn bè',
|
||||
'subtitle': 'Nhận thưởng khi giới thiệu thành công',
|
||||
'route': null,
|
||||
},
|
||||
{
|
||||
'icon': Icons.inventory_2_outlined,
|
||||
'icon': FontAwesomeIcons.boxOpen,
|
||||
'title': 'Quà của tôi',
|
||||
'subtitle': 'Xem voucher và quà tặng đã đổi',
|
||||
'route': null,
|
||||
},
|
||||
{
|
||||
'icon': Icons.diamond_outlined,
|
||||
'icon': FontAwesomeIcons.gem,
|
||||
'title': 'Quyền lợi hội viên',
|
||||
'subtitle': 'Xem các ưu đãi dành cho hạng của bạn',
|
||||
'route': null,
|
||||
@@ -386,7 +387,7 @@ class LoyaltyPage extends ConsumerWidget {
|
||||
|
||||
// Arrow
|
||||
const Icon(
|
||||
Icons.chevron_right,
|
||||
FontAwesomeIcons.chevronRight,
|
||||
color: AppColors.grey500,
|
||||
size: 20,
|
||||
),
|
||||
@@ -440,7 +441,7 @@ class LoyaltyPage extends ConsumerWidget {
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const Icon(Icons.check_circle, size: 20, color: Color(0xFF4A00E0)),
|
||||
const FaIcon(FontAwesomeIcons.solidCircleCheck, size: 18, color: Color(0xFF4A00E0)),
|
||||
const SizedBox(width: 12),
|
||||
Expanded(
|
||||
child: Text(
|
||||
|
||||
Reference in New Issue
Block a user