geopoint icon indicating copy to clipboard operation
geopoint copied to clipboard

use null safe versions of dependencies

Open barbalex opened this issue 4 years ago • 1 comments

flutter_map is preparing a null safe version: https://github.com/fleaflet/flutter_map/pull/870 It can already be used: https://github.com/fleaflet/flutter_map/pull/870

I am already using the null safe version. Unfortunately map_controller is not null safe yet. And it depends on geopoint.

So this pull request aims to make geopoint null safe. To then enable map_controller to become null safe.

Warning: I am a flutter noob (JavaScript dev). And could not test this as my library that depends on it (map_controller) can not be altered to use a git dependency (or so flutter tells me). So feel free to change this pull request as much as you like. Or simply close it and solve it better.

Relates to https://github.com/synw/geopoint/issues/6 and encompasses https://github.com/synw/geopoint/pull/5.

More changes are needed to make the code itself null safe: https://dart.dev/null-safety/migration-guide#step2-migrate. Unfortunately I don't feel up to knowing enough about this library's code to do that.

barbalex avatar May 31 '21 11:05 barbalex

For GeoJson : https://github.com/it-sam/geojson For GeoPoint : https://github.com/it-sam/geopoint Null safety enabled.

it-sam avatar Jun 02 '21 22:06 it-sam