new prop withAlpha

This commit is contained in:
2026-02-20 10:06:49 +01:00
parent c6960c1090
commit 2941354c77

View File

@@ -72,7 +72,7 @@ class GasstationsPage extends GetView<GasstationsController> {
borderRadius: BorderRadius.circular(20),
boxShadow: [
BoxShadow(
color: Colors.black.withOpacity(0.1),
color: Colors.black.withAlpha(10),
blurRadius: 10,
offset: const Offset(0, 5),
),
@@ -117,11 +117,11 @@ class GasstationsPage extends GetView<GasstationsController> {
vertical: 12,
),
decoration: BoxDecoration(
color: Colors.white.withOpacity(0.95),
color: Colors.white.withAlpha(200),
borderRadius: BorderRadius.circular(12),
boxShadow: [
BoxShadow(
color: Colors.black.withOpacity(0.1),
color: Colors.black.withAlpha(10),
blurRadius: 8,
offset: const Offset(0, 2),
),