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( Opacity(
color: Colors.white, opacity: 0.6,
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,
))), ))),
),
], ],
); );
} }