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

Yet another web view plugin for Flutter

li_webview #

Yet another web view plugin

Instructions #

Import li_web_view

import 'package:li_webview/li_webview.dart';

Add it as a container's child and define a function to handle the callback of the web view creation

Example: #

void onWebCreated(webController) {
    this.webController = webController;
    this.webController.loadUrl("http://www.google.com");
}

@override Widget build(BuildContext context) {
    return MaterialApp(
        home: Container(
            child: LiWebView(
                onWebCreated: onWebCreated,
            ),
            height: double.infinity,
        ),
    );
}

The web view is automatically going to adapt the parent properties in order to have a more natural control of it

And that's it

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Yet another web view plugin for Flutter

Homepage

Documentation

Documentation

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on li_webview