Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.8k stars 874 forks source link

[FEATURE] Render network url (images or video url) with custom widgets #1169

Closed Helocominc closed 2 years ago

Helocominc commented 2 years ago

Add support for rendering network url (images or video url) with gridview builder and other widgets like cached network image. This will give access for customizing the image rendered by this package.

erickok commented 2 years ago

There is already an extensive custom image render API. Is there anything that you are missing? The documentation is a bit lacking but there are several examples if you go to https://pub.dev/packages/flutter_html/example and search for customImageRenders.

Helocominc commented 2 years ago

I am using the latest version of this package (3.0.0) and can't find the customImageRender i can only find customRender. Is this parameter only available in the version 2.x ?

erickok commented 2 years ago

It is still available, but it has been merged with the customrender API. You can fins examples here: https://github.com/Sub6Resources/flutter_html/blob/flutter_html-v3.0.0-alpha.8/example/lib/main.dart#L295

erickok commented 2 years ago

Let us know if you have additional requirements. I'll close this for now as 'already implemented'.

taskindrp commented 1 year ago

It is still available, but it has been merged with the customrender API. You can fins examples here: https://github.com/Sub6Resources/flutter_html/blob/flutter_html-v3.0.0-alpha.8/example/lib/main.dart#L295

I can't find it in 3.0.0-beta.2. @erickok in which version?

CleanShot 2023-06-14 at 10 53 26@2x

erickok commented 1 year ago

@taskindrp Please see https://github.com/Sub6Resources/flutter_html/wiki/Migration-Guides#300