kraken_websocket 0.2.0-dev.1 kraken_websocket: ^0.2.0-dev.1 copied to clipboard
W3C compact video tag support.
import 'package:flutter/material.dart';
import 'package:kraken_websocket/kraken_websocket.dart';
import 'package:kraken/kraken.dart';
void main() {
KrakenWebsocket.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(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Kraken(bundlePath: 'assets/bundle.js',)
),
);
}
}