SenzuCenterControls constructor

const SenzuCenterControls({
  1. Key? key,
  2. required SenzuPlayerBundle bundle,
  3. required SenzuCenterButtonStyle style,
  4. required Widget loading,
  5. required Widget buffering,
  6. required bool showRewind,
  7. required bool showForward,
  8. required int rewindCount,
  9. required int forwardCount,
  10. VoidCallback? onPrev,
  11. VoidCallback? onNext,
  12. bool? hasPrev,
  13. bool? hasNext,
})

Implementation

const SenzuCenterControls({
  super.key,
  required this.bundle,
  required this.style,
  required this.loading,
  required this.buffering,
  required this.showRewind,
  required this.showForward,
  required this.rewindCount,
  required this.forwardCount,
  this.onPrev,
  this.onNext,
  this.hasPrev,
  this.hasNext,
});