Update: 2026-08-03 00:20:40
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:siro_admin/constant/theme.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart'; // For Get.width if needed, and .tr
|
||||
import 'package:siro_admin/constant/colors.dart'; // Assuming AppColor is here
|
||||
@@ -38,7 +39,7 @@ class DashboardStatCard extends StatelessWidget {
|
||||
borderRadius: finalBorderRadius,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.grey.withOpacity(0.1),
|
||||
color: cs.onSurfaceVariant.withValues(alpha: 0.1),
|
||||
spreadRadius: 1,
|
||||
blurRadius: 6,
|
||||
offset: const Offset(0, 2),
|
||||
@@ -72,7 +73,7 @@ class DashboardStatCard extends StatelessWidget {
|
||||
Icon(
|
||||
icon,
|
||||
size: 24,
|
||||
color: iconColor ?? AppColor.primaryColor.withOpacity(0.7),
|
||||
color: iconColor ?? AppColor.primaryColor.withValues(alpha: 0.7),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user