Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

use null safe versions of dependencies #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

barbalex
Copy link

@barbalex barbalex commented May 31, 2021

flutter_map is preparing a null safe version: fleaflet/flutter_map#870
It can already be used: fleaflet/flutter_map#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 #6 and encompasses #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.

@it-sam
Copy link

it-sam commented Jun 2, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants