flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

Add srcdoc check when building IframeWidget

Open swiftymf opened this issue 1 year ago • 3 comments

This branch allows developers to, in addition to 'src', pass in html that contains a 'srcdoc' property. 'src' is great for passing in a URL, but if someone wants to pass in HTML, etc., inside an iframe, then we need to use 'srcdoc'. This branch is broken into three commits since there are three separate features being introduced.

Check is 'srcdoc' is sent in with the extensionContext attributes. If there is no 'srcdoc' we fallback to 'src'. This change doesn't break the current usage of the package and will not impact developers currently using it.

swiftymf avatar Aug 09 '23 23:08 swiftymf

THANK YOU! @swiftymf

emiliodallatorre avatar Aug 29 '23 19:08 emiliodallatorre

What needs to happen in order to get this merged in?

chillbrodev avatar Jan 16 '24 20:01 chillbrodev

Bump @Sub6Resources

chillbrodev avatar Apr 17 '24 21:04 chillbrodev