webviewx2 2.0.0 webviewx2: ^2.0.0 copied to clipboard
A feature-rich cross-platform webview using webview_flutter for mobile and iframe for web. JS interop-ready.
import 'package:flutter/material.dart';
import 'webview_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'WebViewX Example App',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const WebViewXPage(),
);
}
}