fix display text issue

This commit is contained in:
Mohamed Nouffer
2023-09-15 12:05:05 +05:30
parent cac0c1065f
commit 14c8cb6f70
3 changed files with 21 additions and 5 deletions

View File

@ -50,7 +50,9 @@ class MapWidget extends StatelessWidget {
context: context,
isScrollControlled: true,
isDismissible: true,
builder: ((context) => BottomSheetNew(destination: des,))
builder: ((context) => BottomSheetNew(
destination: des,
))
//builder:((context) => BottomSheetWidget())
).whenComplete(() {
destinationController.skip_gps = false;
@ -178,7 +180,20 @@ class MapWidget extends StatelessWidget {
)
: Container(),
),
CurrentLocationLayer(),
CurrentLocationLayer(
followOnLocationUpdate: FollowOnLocationUpdate.once,
turnOnHeadingUpdate: TurnOnHeadingUpdate.never,
style: const LocationMarkerStyle(
marker: DefaultLocationMarker(
child: Icon(
Icons.navigation,
color: Colors.yellowAccent,
),
),
markerSize: Size(27, 27),
markerDirection: MarkerDirection.heading,
),
),
indexController.locations.isNotEmpty &&
indexController.locations[0].collection.isNotEmpty
? MarkerLayer(