tlserver / flutter_map_location_marker

A flutter map plugin for displaying device current location.
https://pub.dev/packages/flutter_map_location_marker
BSD 3-Clause "New" or "Revised" License
102 stars 93 forks source link

Added linter and nullable position #20

Closed smsimone closed 2 years ago

smsimone commented 2 years ago

Right now the version v3.0.1 doens't allow to pass a Stream<LocationMarkerPosition?> so I made it possible to make the position marker disappear when the user didn't give the permissions to access the location.

I also added a linter with some custom rules and refactored the code to resolve all the problems it notified and added some comments..

tlserver commented 2 years ago

positionStream can already receive an error signal to make the marker disappear.