AliPlayerTopBarWidget constructor

const AliPlayerTopBarWidget({
  1. Key? key,
  2. required SharedAnimationManager animationManager,
  3. String? title,
  4. VoidCallback? onBackPressed,
  5. VoidCallback? onSettingsPressed,
  6. bool? isDownload,
  7. ValueChanged<bool>? onDownloadPressed,
  8. VoidCallback? onSnapshotPressed,
  9. VoidCallback? onPIPPressed,
})

构造函数

Implementation

const AliPlayerTopBarWidget({
  super.key,
  required super.animationManager,
  this.title,
  this.onBackPressed,
  this.onSettingsPressed,
  this.isDownload,
  this.onDownloadPressed,
  this.onSnapshotPressed,
  this.onPIPPressed,
});