AudioWidget constructor

const AudioWidget({
  1. Key? key,
  2. required bool isMe,
  3. required String audioSource,
  4. required Widget ack,
  5. required String time,
  6. required Color timeLabelColor,
  7. required Color senderBgColor,
  8. required Color receiverBgColor,
  9. required bool isLoading,
  10. Color? messageReplyBgColor,
  11. Color? messageReplyBorderColor,
  12. required Widget? messageReply,
  13. TextStyle? textStyle,
  14. Widget? name,
})

Implementation

const AudioWidget(
    {super.key,
    required this.isMe,
    required this.audioSource,
    required this.ack,
    required this.time,
    required this.timeLabelColor,
    required this.senderBgColor,
    required this.receiverBgColor,
    required this.isLoading,
    this.messageReplyBgColor,
    this.messageReplyBorderColor,
    required this.messageReply,
    this.textStyle, this.name});