flutter_bridge_webview 0.1.9 copy "flutter_bridge_webview: ^0.1.9" to clipboard
flutter_bridge_webview: ^0.1.9 copied to clipboard

outdated

A bridge webview Flutter plugin.

example/lib/main.dart

import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_bridge_webview/flutter_bridge_webview.dart';

void main() => runApp(MaterialApp(home: WebViewExample()));

class WebViewExample extends StatelessWidget {
    final Completer<BridgeWebViewController> _controller =
    Completer<BridgeWebViewController>();

    @override
    Widget build(BuildContext context) {
        return Scaffold(
            appBar: AppBar(
                title: const Text('BridgeWebView example'),
            ),
            // We're using a Builder here so we have a context that is below the Scaffold
            // to allow calling Scaffold.of(context) so we can show a snackbar.
            body: Builder(builder: (BuildContext context) {
                return BridgeWebView(
                    url: 'https://www.microduino.cn',
                    withJavascript: true,
                );
            }),
        );
    }

}
1
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A bridge webview Flutter plugin.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_bridge_webview