better_player 0.0.61
better_player: ^0.0.61 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.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add better_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
better_player: ^0.0.61Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:better_player/better_player.dart';