ByteArkPlayerConfig constructor

ByteArkPlayerConfig({
  1. bool? autoPlay = true,
  2. bool? control = true,
  3. bool? seekButtons = true,
  4. int? seekTime = 30,
  5. required ByteArkPlayerItem? playerItem,
  6. bool? fullScreenButton = true,
  7. bool? settingButton = true,
  8. ByteArkLighthouseSetting? lighthouseSetting,
  9. 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,
});