Update: 2026-08-02 22:51:18
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';
|
||||
import 'package:siro_admin/constant/links.dart';
|
||||
@@ -224,10 +225,10 @@ class _ErrorListPageState extends State<ErrorListPage> {
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(
|
||||
Icon(
|
||||
Icons.check_circle_outline,
|
||||
size: 64,
|
||||
color: Color(0xFF10B981),
|
||||
color: cs.success,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Text(
|
||||
@@ -418,13 +419,13 @@ class _ErrorTile extends StatelessWidget {
|
||||
item.userType.toLowerCase().contains('سائق');
|
||||
|
||||
final userTypeColor =
|
||||
isDriver ? const Color(0xFF10B981) : const Color(0xFFF59E0B);
|
||||
isDriver ? cs.success : cs.warning;
|
||||
final userTypeIcon = isDriver ? Icons.directions_car : Icons.person;
|
||||
final userTypeLabel = isDriver ? "سائق" : "راكب";
|
||||
|
||||
final userTypeBgColor = isDriver
|
||||
? const Color(0xFF10B981).withValues(alpha: 0.1)
|
||||
: const Color(0xFFF59E0B).withValues(alpha: 0.1);
|
||||
? cs.success.withValues(alpha: 0.1)
|
||||
: cs.warning.withValues(alpha: 0.1);
|
||||
|
||||
return Container(
|
||||
margin: const EdgeInsets.only(bottom: 12),
|
||||
@@ -453,7 +454,7 @@ class _ErrorTile extends StatelessWidget {
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
colors: [
|
||||
const Color(0xFFEF4444),
|
||||
cs.danger,
|
||||
cs.error,
|
||||
],
|
||||
begin: Alignment.centerLeft,
|
||||
|
||||
Reference in New Issue
Block a user