embed_webview 0.0.2 icon indicating copy to clipboard operation
embed_webview: ^0.0.2 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 #

pub package GitHub support platform

embed_webview is a widget that displays web view content inner flutter widget. It can change its size automatically to fit the children.

By now, it supports Android/iOS/Web.

Getting started #

Add embed_webview to your project:

dependencies:
  flutter:
    sdk: flutter

  embed_webview: latest_version

Usage #

Simply use it as other flutter widgets:

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(SampleWebContent);

Save and run the project, you will see the web content:

More #

For more Infomation please checkout: example.

License #

Copyright 2022-present jixiaoyong

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
3
likes
100
pub points
48%
popularity

Publisher

verified publisher iconxiaoyong.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

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

flutter, webview_flutter

More

Packages that depend on embed_webview