add auth, format

This commit is contained in:
Phuoc Nguyen
2025-11-07 11:52:06 +07:00
parent 24a8508fce
commit 3803bd26e0
173 changed files with 8505 additions and 7116 deletions

View File

@@ -25,11 +25,7 @@ class PromotionCard extends StatelessWidget {
/// Callback when card or detail button is tapped
final VoidCallback? onTap;
const PromotionCard({
required this.promotion,
this.onTap,
super.key,
});
const PromotionCard({required this.promotion, this.onTap, super.key});
@override
Widget build(BuildContext context) {
@@ -60,9 +56,7 @@ class PromotionCard extends StatelessWidget {
placeholder: (context, url) => Container(
height: 150,
color: AppColors.grey100,
child: const Center(
child: CircularProgressIndicator(),
),
child: const Center(child: CircularProgressIndicator()),
),
errorWidget: (context, url, error) => Container(
height: 150,