Actualizacion de mejoras

This commit is contained in:
2026-05-23 08:36:15 -06:00
parent ebce0badde
commit 8fe3665ffb
11 changed files with 738 additions and 291 deletions

View File

@@ -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)))),