better_player_plus 1.0.7 copy "better_player_plus: ^1.0.7" to clipboard
better_player_plus: ^1.0.7 copied to clipboard

Advanced video player based on video_player and Chewie. It's solves many typical use cases and it's easy to run.

example/lib/main.dart

import 'package:better_player_example/pages/welcome_page.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Shortcuts(
      shortcuts: <LogicalKeySet, Intent>{
        LogicalKeySet(LogicalKeyboardKey.select): const ActivateIntent(),
      },
      child: MaterialApp(
        title: 'Better player demo',
        localizationsDelegates: [
          GlobalMaterialLocalizations.delegate,
          GlobalWidgetsLocalizations.delegate,
        ],
        supportedLocales: [
          const Locale('en', 'US'),
          const Locale('pl', 'PL'),
        ],
        theme: ThemeData(
          primarySwatch: Colors.green,
        ),
        home: WelcomePage(),
      ),
    );
  }
}
47
likes
150
pub points
95%
popularity

Publisher

unverified uploader

Advanced video player based on video_player and Chewie. It's solves many typical use cases and it's easy to run.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache-2.0 (LICENSE)

Dependencies

collection, flutter, flutter_localizations, flutter_widget_from_html_core, path_provider, visibility_detector, wakelock_plus

More

Packages that depend on better_player_plus