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

Add HTML Rendering #165

Closed
wants to merge 2 commits into from
Closed

Conversation

mmjsmohit
Copy link
Contributor

This PR aims to solve #155
I have used flutter_widget_from_html which convert html into flutter widgets so that they can be previewed in the preview pane.

@animator
Copy link
Member

Expected Response:

Screenshot 2024-02-23 at 7 12 45 AM

This PR:
Screenshot 2024-02-24 at 6 39 31 AM

@mmjsmohit
Copy link
Contributor Author

Hi @animator! The goal of this PR was to add HTML rendering, however it looks like I need to simply add a webview. Should I go ahead with that?

@animator
Copy link
Member

I had already shared more details with you on discord, in case you missed it.
Screenshot 2024-02-24 at 9 09 01 AM

WebView is a solution you can explore.

@animator animator linked an issue Feb 25, 2024 that may be closed by this pull request
@monstajoe2002
Copy link

Can I work on this issue please?

@animator
Copy link
Member

animator commented Mar 2, 2024

Sure @monstajoe2002

@monstajoe2002
Copy link

I had already shared more details with you on discord, in case you missed it. Screenshot 2024-02-24 at 9 09 01 AM

WebView is a solution you can explore.

Unfortunately, that's not possible with desktop apps in Flutter since the WebView feature is mobile only. Even then, desktop implementations don't work 100% especially when we don't have access to the request url from its repective widget.

@monstajoe2002
Copy link

Hey guys! I created a pull request for this feature here: #243

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

Successfully merging this pull request may close these issues.

Add response previewer for text/html
4 participants