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

[webview_flutter] Added basic support to load html data on both platform #1137

Closed
wants to merge 2 commits into from

Conversation

awazgyawali
Copy link
Contributor

As title suggests, added basic support to load html data on both platform.

@awazgyawali
Copy link
Contributor Author

I have not added support for base url, need suggestion from the team on how should I deal it.

@bparrishMines bparrishMines changed the title Added basic support to load html data on both platform [webview_flutter] Added basic support to load html data on both platform Feb 22, 2019
Copy link

@fdsfdsfhsdjf4444 fdsfdsfhsdjf4444 left a comment

Choose a reason for hiding this comment

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

v good

@amirh
Copy link
Contributor

amirh commented May 16, 2019

Thanks for the contribution, and sorry for the long time it took me to respond!

I'd be hesitant to add htmlData as a widget parameter, e.g what does it mean after loadUrl is called on a widget that was built with htmlData? (I think this should be an edge trigger rather than a level trigger, you can find some information about these kind of issues in this article)

We'd also want an e2e test before we can land this.

I filed flutter/flutter#32827 to track this issue and mentioned this PR there.
I'm going to close this PR, if you're still interested in working on this feel free to re-open (or send a new one) after changing it to an edge trigger(I put up an API proposal on the issue) and adding tests.

@amirh amirh closed this May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants