From 2941354c779f7ab309c985cff3725a303f59a9cd Mon Sep 17 00:00:00 2001 From: josiadmin Date: Fri, 20 Feb 2026 10:06:49 +0100 Subject: [PATCH] new prop withAlpha --- lib/pages/gasstations_view.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pages/gasstations_view.dart b/lib/pages/gasstations_view.dart index afe10db..1588dad 100644 --- a/lib/pages/gasstations_view.dart +++ b/lib/pages/gasstations_view.dart @@ -72,7 +72,7 @@ class GasstationsPage extends GetView { 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 { 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), ),