Skip to content

Conversation

renntbenrennt
Copy link
Contributor

As you can see from below screenshot:
image

And further discussion on solution can be found here:
dart-lang/http#538

The breaking change of the http makes all the request originally in string, now must be Uri, if the user's Flutter is 2.0+

In this commit I was using Uri.parse to refactor all the place using http package method, changing the string to Uri.

dart-lang/http#538

The breaking change of the http makes all the request originally in string, now must be Uri.
Using Uri.parse to refactor all the place using http package method
@diegoveloper diegoveloper merged commit 43ce399 into diegoveloper:master Mar 16, 2021
@diegoveloper
Copy link
Owner

Thanks for the contribution! @SeasonLeee

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

Successfully merging this pull request may close these issues.

2 participants