updated tranparency only to label background

This commit is contained in:
2023-11-14 16:40:11 +05:30
parent 32ae1f5249
commit e8d65ba725

View File

@ -93,17 +93,14 @@ class MapWidget extends StatelessWidget {
], ],
)), )),
), ),
Opacity( Container(
opacity: 0.6, color: Colors.white.withOpacity(0.4),
child: Container(
color: Colors.white.withOpacity(0.6),
child: Text(TextUtils.getDisplayTextFeture(i), child: Text(TextUtils.getDisplayTextFeture(i),
style: const TextStyle( style: const TextStyle(
fontSize: 16, fontSize: 16,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.red, color: Colors.red,
))), ))),
),
], ],
); );
} }