BetterPlayerController constructor
BetterPlayerController(
- BetterPlayerConfiguration betterPlayerConfiguration, {
- BetterPlayerPlaylistConfiguration? betterPlayerPlaylistConfiguration,
- BetterPlayerDataSource? betterPlayerDataSource,
Implementation
BetterPlayerController(
this.betterPlayerConfiguration, {
this.betterPlayerPlaylistConfiguration,
BetterPlayerDataSource? betterPlayerDataSource,
}) {
this._betterPlayerControlsConfiguration =
betterPlayerConfiguration.controlsConfiguration;
_eventListeners.add(eventListener);
if (betterPlayerDataSource != null) {
setupDataSource(betterPlayerDataSource);
}
}