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

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:li_webview/li_webview.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp>{
  WebController webController;

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

  @override Widget build(BuildContext context) {
    return MaterialApp(
      home: Container(
        color: Colors.red,
        child: LiWebView(
          onWebCreated: onWebCreated,
        ),
        height: double.infinity,
      ),
      color: Colors.black,
    );
  }
}
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