Actualizacion de mejoras
This commit is contained in:
@@ -208,8 +208,8 @@ class DriverRouteMap extends StatelessWidget {
|
||||
Polyline(points:pending, color:Colors.grey.shade400, strokeWidth:5,
|
||||
borderColor:Colors.white54, borderStrokeWidth:1),
|
||||
if (done.isNotEmpty)
|
||||
Polyline(points:done, color:AppColors.moradoConductor, strokeWidth:6,
|
||||
borderColor:AppColors.moradoConductor.withOpacity(0.4), borderStrokeWidth:2),
|
||||
Polyline(points:done, color:AppColors.guindaPrimary, strokeWidth:6,
|
||||
borderColor:AppColors.guindaPrimary.withOpacity(0.4), borderStrokeWidth:2),
|
||||
]),
|
||||
MarkerLayer(markers:[
|
||||
// Waypoints pendientes
|
||||
@@ -223,7 +223,7 @@ class DriverRouteMap extends StatelessWidget {
|
||||
Marker(point:cur, width:56, height:56,
|
||||
child:Transform.rotate(angle:bear*math.pi/180,
|
||||
child:Container(decoration:BoxDecoration(
|
||||
color:gps?AppColors.moradoConductor:Colors.grey, shape:BoxShape.circle,
|
||||
color:gps?AppColors.guindaPrimary:Colors.grey, shape:BoxShape.circle,
|
||||
border:Border.all(color:Colors.white,width:2.5),
|
||||
boxShadow:[BoxShadow(color:Colors.black38,blurRadius:8)]),
|
||||
child:Icon(gps?Icons.navigation:Icons.gps_off,color:Colors.white,size:28)))),
|
||||
|
||||
Reference in New Issue
Block a user