Skip to content

Commit

Permalink
update fallback values for fixed and draggable markers
Browse files Browse the repository at this point in the history
  • Loading branch information
sharjeelyunus committed Feb 19, 2025
1 parent 17eee92 commit 1173409
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/location/lib/widget/maps/maps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ class EnsembleMapWidget extends StatefulWidget
_controller.toolbarRight = Utils.optionalInt(value, min: 0),

'mapType': (value) => _controller.mapType = value,
'fixedMarker': (value) =>
_controller.fixedMarker = Utils.getBool(value, fallback: false),
'draggableMarker': (value) =>
_controller.draggableMarker = Utils.getBool(value, fallback: false),
'fixedMarker': (value) => _controller.fixedMarker =
Utils.getBool(value, fallback: _controller.fixedMarker),
'draggableMarker': (value) => _controller.draggableMarker =
Utils.getBool(value, fallback: _controller.draggableMarker),
'markers': (markerData) => setMarkers(markerData),
'scrollableMarkerOverlay': (value) => _controller
.scrollableMarkerOverlay =
Expand Down

0 comments on commit 1173409

Please sign in to comment.