update for user group

This commit is contained in:
Mohamed Nouffer
2022-09-05 19:12:25 +05:30
parent 09ac737de5
commit 6802083a0a
5 changed files with 88 additions and 51 deletions

View File

@ -140,20 +140,23 @@ class MapWidget extends StatelessWidget {
// )
// : Icon(Icons.pin_drop),
builder: (ctx){
return Container(
width: 7,
height: 7,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Colors.transparent,
border: Border.all(
color: Colors.red,
width: 3,
style: BorderStyle.solid
)
),
child: Icon(Icons.circle,size: 10.0,)
);
return Row(
children: [
Container(
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Colors.transparent,
border: Border.all(
color: Colors.red,
width: 3,
style: BorderStyle.solid
)
),
child: Icon(Icons.circle,size: 14.0,)
),
Text(i.properties!['cp'] > 0 ? i.properties!['cp'].toString() : "", style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold, color:Colors.red,)),
],
);
},
);
}).toList(),