embed_webview 0.0.1 copy "embed_webview: ^0.0.1" to clipboard
embed_webview: ^0.0.1 copied to clipboard

A widget that display webview content inner flutter widget. It can change it's size automatically to fit the children.

embed_webview is a widget that display webview content inner flutter widget. It can change it's size automatically to fit the children.

By now, it support Android/iOS/Web.

Getting started #

Add embed_webview to your project.

dependencies:
  flutter:
    sdk: flutter


  embed_webview:last_version

Usage #

Simply use it as other flutter widget:

const String SampleWebContent =
    """<p style="text-align: center;"><span style="color: rgb(41, 44, 50); font-size: 19px;">an&nbsp;open-source&nbsp;Embed&nbsp;Webview&nbsp;library.</span></p><p style="text-align: center;"><span style="color: rgb(41, 44, 50); font-size: 19px;">Made&nbsp;With&nbsp;❤️&nbsp;by&nbsp;JI,XIAOYONG.</span></p><p><br></p>""";

// somewhere need a widget:
return EmbedWebView(WebContent);

For more Infomation please checkout: example.

4
likes
90
pub points
46%
popularity

Publisher

verified publisherxiaoyong.ml

A widget that display webview content inner flutter widget. It can change it's size automatically to fit the children.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, webview_flutter

More

Packages that depend on embed_webview