ImageWithCaption constructor

const ImageWithCaption({
  1. Key? key,
  2. required String? imgUrl,
  3. required Widget? caption,
  4. required BoxConstraints constraints,
  5. required Color color,
  6. required bool isMe,
  7. required Widget ack,
  8. required String time,
  9. required Color timeLabelColor,
  10. required bool showLoadingOverlay,
  11. required double percentage,
  12. required VoidCallback onTap,
  13. TextStyle? textStyle,
  14. BoxConstraints? imageStyles,
  15. Color? messageReplyBgColor,
  16. Color? messageReplyBorderColor,
  17. required Widget? messageReply,
  18. Uint8List? imageBytes,
})

Implementation

const ImageWithCaption(
    {super.key,
    required this.imgUrl,
    required this.caption,
    required this.constraints,
    required this.color,
    required this.isMe,
    required this.ack,
    required this.time,
    required this.timeLabelColor,
    required this.showLoadingOverlay,
    required this.percentage,
    required this.onTap,
    this.textStyle,
    this.imageStyles,
    this.messageReplyBgColor,
    this.messageReplyBorderColor,
    required this.messageReply,
    this.imageBytes});