Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Safety support #564

Closed
shammael opened this issue Mar 8, 2021 · 11 comments
Closed

Null Safety support #564

shammael opened this issue Mar 8, 2021 · 11 comments

Comments

@shammael
Copy link

shammael commented Mar 8, 2021

No description provided.

@m0nac0
Copy link
Collaborator

m0nac0 commented Mar 9, 2021

Depending on andrea689/mapbox-gl-dart#12

@nico85
Copy link

nico85 commented Mar 10, 2021

update mapbox_gl: ^0.10.0 in my pubspec.yaml to migrate null-safety (flutter 2), get error:

Because mapbox_gl_web 0.10.0 depends on image ^2.1.12 and no versions of mapbox_gl_web match >0.10.0 <0.11.0, mapbox_gl_web ^0.10.0 requires image ^2.1.12.

the image package v.3.0.1 is null safety, can you update the package in your mapbox_gl_web pubspec.yaml?

i'm new to flutter, that's why the question, thanks!

@m0nac0
Copy link
Collaborator

m0nac0 commented Mar 10, 2021

As noted above, we need to wait for mapbox-gl-dart to migrate to null-safety, afterwards we can migrate this package.
Theoretically we could already upgrade the image dependency, but it'd be useless as long as not all of our dependencies have null safe versions available.

@mrtawil
Copy link

mrtawil commented Mar 16, 2021

Hello guys, any updates on this issue?
When upgrading other flutter packages to be compatible with flutter 2 most of them require package image ^3.0.1, which is not compatible with mapbox package yet. I am in need to upgrade them as well, any solution in mind ?

@FelipeCabeza16
Copy link

I have the same issue, i can update to new packages because my app have strong dependency to mapbox.

@morvagergely
Copy link
Contributor

Seems like version 0.2.0-nullsafety.0 (prerelease) for mapbox_gl_dart is out, therefore it should not be blocking anymore.

@hpoul
Copy link

hpoul commented Mar 31, 2021

why was this issue closed? 🤔️ i can't find any release or even PR related to this issue.

@m0nac0
Copy link
Collaborator

m0nac0 commented Apr 2, 2021

I agree, this isn't fixed, yet. But since all our dependencies now support null safety, we can start the migration process.

@m0nac0 m0nac0 reopened this Apr 2, 2021
@Salahudeen
Copy link

Expecting a null safety release soon! 👍

@RodolfoSilva
Copy link

Duplicate #487

This was referenced Oct 21, 2021
@m0nac0
Copy link
Collaborator

m0nac0 commented Oct 31, 2021

Release v0.13.0 contains null-safety.

@m0nac0 m0nac0 closed this as completed Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants