Update: 2026-08-03 00:20:40

This commit is contained in:
Hamza-Ayed
2026-08-03 00:20:40 +03:00
parent c23c3c0721
commit 2b9f696372
39 changed files with 38513 additions and 38217 deletions
@@ -232,7 +232,7 @@ class _HeaderInfo extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
Icon(Icons.timer_outlined,
size: 16, color: Colors.greenAccent.withValues(alpha: 0.8)),
size: 16, color: cs.success.withValues(alpha: 0.8)),
const SizedBox(width: 8),
Text(
"Uptime: ${data.uptime.formatted}",
@@ -247,7 +247,7 @@ class _HeaderInfo extends StatelessWidget {
color: Colors.white24,
margin: const EdgeInsets.symmetric(horizontal: 12)),
Icon(Icons.update,
size: 16, color: Colors.blueAccent.withValues(alpha: 0.8)),
size: 16, color: cs.info.withValues(alpha: 0.8)),
const SizedBox(width: 8),
Text(
"Last Update: ${data.timestamp.split(' ')[1]}",
@@ -375,7 +375,7 @@ class _ServicesCard extends StatelessWidget {
CircleAvatar(
radius: 4,
backgroundColor:
isActive ? Colors.greenAccent : Colors.redAccent,
isActive ? cs.success : cs.danger,
),
const SizedBox(width: 12),
Expanded(
@@ -397,7 +397,7 @@ class _ServicesCard extends StatelessWidget {
child: Text(
isActive ? "Running" : "Stopped",
style: TextStyle(
color: isActive ? Colors.greenAccent : Colors.redAccent,
color: isActive ? cs.success : cs.danger,
fontSize: 10,
fontWeight: FontWeight.bold,
),
@@ -489,10 +489,10 @@ class _TopProcessesCard extends StatelessWidget {
Container(
padding: const EdgeInsets.all(8),
decoration: BoxDecoration(
color: Colors.orange.withValues(alpha: 0.1),
color: cs.warning.withValues(alpha: 0.1),
borderRadius: BorderRadius.circular(8)),
child: const Icon(Icons.analytics_rounded,
color: Colors.orange, size: 18),
color: cs.warning, size: 18),
),
const SizedBox(width: 12),
Text("Top Processes",
@@ -550,13 +550,13 @@ class _TopProcessesCard extends StatelessWidget {
padding:
const EdgeInsets.symmetric(horizontal: 10, vertical: 6),
decoration: BoxDecoration(
color: Colors.orange.withValues(alpha: 0.1),
color: cs.warning.withValues(alpha: 0.1),
borderRadius: BorderRadius.circular(20),
),
child: Text(
process.usage,
style: const TextStyle(
color: Colors.orangeAccent,
color: cs.warning,
fontSize: 12,
fontWeight: FontWeight.bold),
),
@@ -655,7 +655,7 @@ class _ErrorState extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Icon(Icons.cloud_off_rounded,
size: 60, color: Colors.redAccent),
size: 60, color: cs.danger),
const SizedBox(height: 16),
Text(controller.errorMessage.value,
textAlign: TextAlign.center,