VVoiceMessageController constructor
VVoiceMessageController({})
Implementation
VVoiceMessageController({
required this.id,
required this.audioSrc,
this.maxDuration = const Duration(days: 1),
this.onComplete,
this.onPause,
this.onPlaying,
}) : super(null) {
_setRandoms();
animController = AnimationController(
vsync: this,
upperBound: noiseWidth,
duration: maxDuration,
);
_listenToRemindingTime();
_listenToPlayerState();
}