Skip to content

Add HTMLElementView page + sample #5063

@johnpryan

Description

@johnpryan

One of the solutions for resolving CORS issues with images is to use an HTMLElementView. We currently don't have any sample code for using it.

https://api.flutter.dev/flutter/widgets/HtmlElementView-class.html

this issue + comment has a sample that uses an ImageElement to display an image with the Google Books API to work around CORS issues with the CanvasKit renderer

Metadata

Metadata

Assignees

No one assigned

    Labels

    e1-hoursEffort: < 8 hrsfix.code-sampleNeeds new or updated code samplefix.examplesAdds or changes examplep2-mediumNecessary but not urgent concern. Resolve when possible.target.webTarget apps on the web platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions