vxg_playersdk 0.0.1+1 vxg_playersdk: ^0.0.1+1 copied to clipboard
Flutter plugin to use the VXG Player SDK, which enables playback of media files and streams for your apps.
import 'package:flutter/material.dart';
import 'player.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
PlayerView player = new PlayerView();
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Container(
child: player,
),
);
}
}