webHtmlElementStrategy property

WebHtmlElementStrategy get webHtmlElementStrategy

On the Web platform, specifies when the image is loaded as a WebImageInfo, which causes Image.network to display the image in an HTML element in a platform view.

See Image.network for more explanation.

Defaults to WebHtmlElementStrategy.never.

Has no effect on other platforms, which always fetch bytes.

Implementation

WebHtmlElementStrategy get webHtmlElementStrategy;