This commit is contained in:
Phuoc Nguyen
2025-10-24 17:35:39 +07:00
parent 82ce30961b
commit 860a8788b6
17 changed files with 2572 additions and 32 deletions

View File

@@ -77,14 +77,15 @@ class FavoritesPage extends ConsumerWidget {
return Scaffold(
backgroundColor: const Color(0xFFF4F6F8),
appBar: AppBar(
// backgroundColor: AppColors.white,
foregroundColor: Colors.black,
elevation: 1,
leading: IconButton(
icon: const Icon(Icons.arrow_back),
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () => context.pop(),
),
title: const Text('Yêu thích'),
title: const Text('Yêu thích', style: TextStyle(color: Colors.black)),
elevation: AppBarSpecs.elevation,
backgroundColor: AppColors.white,
foregroundColor: AppColors.grey900,
centerTitle: false,
actions: [
// Count badge
if (favoriteCount > 0)
@@ -105,10 +106,11 @@ class FavoritesPage extends ConsumerWidget {
// Clear all button
if (favoriteCount > 0)
IconButton(
icon: const Icon(Icons.delete_outline),
icon: const Icon(Icons.delete_outline, color: Colors.black),
tooltip: 'Xóa tất cả',
onPressed: () => _showClearAllDialog(context, ref, favoriteCount),
),
const SizedBox(width: AppSpacing.sm),
],
),
body: SafeArea(

View File

@@ -440,4 +440,4 @@ final class FavoriteProductsProvider
}
}
String _$favoriteProductsHash() => r'cb3af4f84591c94e9eed3322b167fd8050a40aa1';
String _$favoriteProductsHash() => r'6f48aa57781b0276ad72928e6b54b04fc53b0d7e';