BubbleNormalAudio constructor
BubbleNormalAudio({
- Key? key,
- required void onSeekChanged(
- double value
- required void onPlayPauseButtonClick(),
- bool isPlaying = false,
- BoxConstraints? constraints,
- bool isPause = false,
- double? duration,
- double? position,
- bool isLoading = true,
- double bubbleRadius = BUBBLE_RADIUS_AUDIO,
- bool isSender = true,
- Color color = Colors.white70,
- bool tail = true,
- bool sent = false,
- bool delivered = false,
- bool seen = false,
- 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);