AliPlayerBottomBarWidget constructor
const
AliPlayerBottomBarWidget({
- Key? key,
- required SharedAnimationManager animationManager,
- required bool isPlaying,
- required Duration currentPosition,
- required Duration totalDuration,
- required Duration bufferedPosition,
- VoidCallback? onPlayIconPressed,
- VoidCallback? onFullScreenPressed,
- ValueChanged<
Duration> ? onDragUpdate, - ValueChanged<
Duration> ? onDragEnd, - ValueChanged<
Duration> ? onSeekEnd,
构造函数
Implementation
const AliPlayerBottomBarWidget({
super.key,
required super.animationManager,
required this.isPlaying,
required this.currentPosition,
required this.totalDuration,
required this.bufferedPosition,
this.onPlayIconPressed,
this.onFullScreenPressed,
this.onDragUpdate,
this.onDragEnd,
this.onSeekEnd,
});