Update wind_speed_monitoring_screen.dart

This commit is contained in:
e32232340-Nadif 2026-03-01 21:22:36 +07:00
parent 692244f59c
commit 196c5363dc
1 changed files with 4 additions and 4 deletions

View File

@ -326,15 +326,15 @@ class _WindSpeedMonitoringScreenState extends State<WindSpeedMonitoringScreen> {
vertical: 5,
),
decoration: BoxDecoration(
color: Colors.amber.shade100,
color: _isOnline ? Colors.green.shade100 : Colors.red.shade100,
borderRadius: BorderRadius.circular(20),
),
child: const Text(
"Normal",
child: Text(
_isOnline ? "ONLINE" : "OFFLINE",
style: TextStyle(
fontSize: 11,
fontWeight: FontWeight.w600,
color: Colors.amber,
color: _isOnline ? Colors.green : Colors.red,
),
),
),