From e8d65ba7255602b846338a83c6b797a8d653691f Mon Sep 17 00:00:00 2001 From: Mohamed Nouffer Date: Tue, 14 Nov 2023 16:40:11 +0530 Subject: [PATCH] updated tranparency only to label background --- lib/widgets/map_widget.dart | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/lib/widgets/map_widget.dart b/lib/widgets/map_widget.dart index 19acc90..1749496 100644 --- a/lib/widgets/map_widget.dart +++ b/lib/widgets/map_widget.dart @@ -93,17 +93,14 @@ class MapWidget extends StatelessWidget { ], )), ), - Opacity( - opacity: 0.6, - child: Container( - color: Colors.white.withOpacity(0.6), - child: Text(TextUtils.getDisplayTextFeture(i), - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.bold, - color: Colors.red, - ))), - ), + Container( + color: Colors.white.withOpacity(0.4), + child: Text(TextUtils.getDisplayTextFeture(i), + style: const TextStyle( + fontSize: 16, + fontWeight: FontWeight.bold, + color: Colors.red, + ))), ], ); }