ByteArkPlayerConfig constructor
ByteArkPlayerConfig({
- bool? autoPlay = true,
- bool? control = true,
- bool? seekButtons = true,
- int? seekTime = 30,
- required ByteArkPlayerItem? playerItem,
- bool? fullScreenButton = true,
- bool? settingButton = true,
- ByteArkLighthouseSetting? lighthouseSetting,
- ByteArkAdsSettings? adsSettings,
Constructs a ByteArkPlayerConfig with the specified settings.
Implementation
ByteArkPlayerConfig({
this.autoPlay = true,
this.control = true,
this.seekButtons = true,
this.seekTime = 30,
required this.playerItem,
this.fullScreenButton = true,
this.settingButton = true,
this.lighthouseSetting,
this.adsSettings,
});