better_video_player 1.4.0 better_video_player: ^1.4.0 copied to clipboard
Advanced video player based on video_player.
import 'package:better_video_player_example/pages/welcome_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
return MaterialApp(
title: 'Better',
theme: ThemeData(
primarySwatch: Colors.green,
),
home: WelcomePage(),
);
}
}