BubbleNormalAudio constructor

BubbleNormalAudio({
  1. Key? key,
  2. required void onSeekChanged(
    1. double value
    ),
  3. required void onPlayPauseButtonClick(),
  4. bool isPlaying = false,
  5. BoxConstraints? constraints,
  6. bool isPause = false,
  7. double? duration,
  8. double? position,
  9. bool isLoading = true,
  10. double bubbleRadius = BUBBLE_RADIUS_AUDIO,
  11. bool isSender = true,
  12. Color color = Colors.white70,
  13. bool tail = true,
  14. bool sent = false,
  15. bool delivered = false,
  16. bool seen = false,
  17. TextStyle textStyle = const TextStyle(color: Colors.black87, fontSize: 12),
})

Implementation

BubbleNormalAudio({
  Key? key,
  required this.onSeekChanged,
  required this.onPlayPauseButtonClick,
  this.isPlaying = false,
  this.constraints,
  this.isPause = false,
  this.duration,
  this.position,
  this.isLoading = true,
  this.bubbleRadius = BUBBLE_RADIUS_AUDIO,
  this.isSender = true,
  this.color = Colors.white70,
  this.tail = true,
  this.sent = false,
  this.delivered = false,
  this.seen = false,
  this.textStyle = const TextStyle(
    color: Colors.black87,
    fontSize: 12,
  ),
}) : super(key: key);