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

Use package http #234

Merged
merged 2 commits into from
Feb 20, 2024
Merged

Use package http #234

merged 2 commits into from
Feb 20, 2024

Conversation

dnfield
Copy link
Owner

@dnfield dnfield commented Feb 19, 2024

This avoids the need to depend on dart:html, and should make it easier to use this package in wasm builds.

Also, package:http has some nice implementations now that make use of platform specific features.

Will help with dnfield/flutter_svg#1037

@@ -502,39 +502,6 @@ void main() {
expect(exception.toString(), contains(loader.toString()));
});

testWidgets(
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test doens't pass anymore, and seems to be depending on internals of the web implementation so I deleted it.

Copy link

@IchordeDionysos IchordeDionysos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dnfield dnfield merged commit 02389b1 into main Feb 20, 2024
3 checks passed
@dnfield dnfield deleted the http branch February 20, 2024 16:23
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.

3 participants