kraken_webview 1.0.0 kraken_webview: ^1.0.0 copied to clipboard
Kraken `<iframe />` tags support.
import 'package:flutter/material.dart';
import 'package:kraken_webview/kraken_webview.dart';
import 'package:kraken/kraken.dart';
void main() {
KrakenWebView.initialize();
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
String _platformVersion = 'Unknown';
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Kraken(bundlePath: 'assets/bundle.js'),
),
);
}
}