add auth, format
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user