kraken_websocket 2.0.1 copy "kraken_websocket: ^2.0.1" to clipboard
kraken_websocket: ^2.0.1 copied to clipboard

W3C compact video tag support.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:kraken_websocket/kraken_websocket.dart';
import 'package:kraken/kraken.dart';

void main() {
  runApp(MyApp());
  KrakenWebsocket.initialize();
}

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(
            bundle: KrakenBundle.fromUrl('assets://assets/bundle.js'),
          )),
    );
  }
}
0
likes
110
pub points
0%
popularity

Publisher

verified publisheropenkraken.com

W3C compact video tag support.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, kraken, web_socket_channel

More

Packages that depend on kraken_websocket