update opacity of point label

This commit is contained in:
2023-11-09 12:20:49 +05:30
parent 7a154b4390
commit 32ae1f5249

View File

@ -93,14 +93,17 @@ class MapWidget extends StatelessWidget {
],
)),
),
Container(
color: Colors.white,
child: Text(TextUtils.getDisplayTextFeture(i),
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
color: Colors.red,
))),
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,
))),
),
],
);
}