webviewx 0.2.2 webviewx: ^0.2.2 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(),
);
}
}