BubbleNormalAudio constructor
const
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 = defaultBubbleRadiusAudio,
- 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),
- String? timestamp,
- bool isEdited = false,
- bool isForwarded = false,
- String? messageId,
- List<
double> ? waveformData, - Color waveformActiveColor = Colors.blue,
- Color waveformInactiveColor = Colors.grey,
- bool showPlaybackSpeed = false,
- double playbackSpeed = 1.0,
- ValueChanged<
double> ? onPlaybackSpeedChanged,
Constructor
Implementation
const 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 = defaultBubbleRadiusAudio,
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,
),
this.timestamp,
this.isEdited = false,
this.isForwarded = false,
this.messageId,
this.waveformData,
this.waveformActiveColor = Colors.blue,
this.waveformInactiveColor = Colors.grey,
this.showPlaybackSpeed = false,
this.playbackSpeed = 1.0,
this.onPlaybackSpeedChanged,
}) : super(key: key);