SimplePlayerSettings constructor

const SimplePlayerSettings({
  1. required String type,
  2. required String path,
  3. required String label,
  4. required double aspectRatio,
  5. required bool autoPlay,
  6. required bool loopMode,
  7. required Color colorAccent,
  8. BoxFit fit = BoxFit.contain,
  9. BoxFit fullScreenFit = BoxFit.contain,
  10. bool expand = false,
  11. bool muteOnAutoPlay = false,
})

Implementation

const SimplePlayerSettings({
  required this.type,
  required this.path,
  required this.label,
  required this.aspectRatio,
  required this.autoPlay,
  required this.loopMode,
  required this.colorAccent,
  this.fit = BoxFit.contain,
  this.fullScreenFit = BoxFit.contain,
  this.expand = false,
  this.muteOnAutoPlay = false,
});