color update with small UI changes

This commit is contained in:
2025-04-09 15:37:26 +02:00
parent b3efbb3331
commit f73932cc98
6 changed files with 83 additions and 48 deletions
+9 -2
View File
@@ -97,15 +97,22 @@ Color _getColorFromName(String colorName) {
return Colors.lime;
case 'mint':
return Colors.greenAccent;
case 'sky':
case 'orange':
return Colors.orange;
case 'violet':
return Colors.deepPurpleAccent;
case 'amber':
return Colors.amber;
case 'brown':
return Colors.brown;
case 'grey':
return Colors.grey;
default:
return Colors.blue; // fallback
}
}
Offset _generatePositionForScore(int score, Offset center) {
const double bulletRadius = 25;
final List<double> rings = [14, 70, 125, 180, 235, 290, 345, 400, 455, 510];
@@ -657,7 +664,7 @@ void _moveBullet(Offset offsetDelta) {
);
},
style: ElevatedButton.styleFrom(
backgroundColor: _bulletColor.withOpacity(0.9),
backgroundColor: Colors.grey[800],
foregroundColor: Colors.white,
elevation: 0,
padding: const EdgeInsets.symmetric(vertical: 16),